Change wording

This commit is contained in:
r00ster 2021-04-25 15:48:24 +02:00 committed by GitHub
parent 22ec96135d
commit 82b6983aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -751,8 +751,8 @@ pub fn args() -> Args {
/// extension. This allows `std::env::args_os` to work even in a `cdylib` or `staticlib`, as it
/// does on macOS and Windows.
///
/// Note that the returned iterator will not panic during iteration if any argument to the
/// process is not valid Unicode. For more safety,
/// Note that the returned iterator will not check if the arguments to the
/// process are valid Unicode. To ensure UTF-8 validity,
/// use the [`args`] function instead.
///
/// # Examples