Rollup merge of #84624 - r00ster91:patch-5, r=JohnTitor
Make sentence in env::args_os' docs plain and simple Follow-up to #84551. See https://github.com/rust-lang/rust/pull/84551#discussion_r620728070 on why this makes more sense.
This commit is contained in:
commit
0e72e0fb7f
@ -752,7 +752,7 @@ pub fn args() -> Args {
|
||||
/// does on macOS and Windows.
|
||||
///
|
||||
/// Note that the returned iterator will not check if the arguments to the
|
||||
/// process are valid Unicode. To ensure UTF-8 validity,
|
||||
/// process are valid Unicode. If you want to panic on invalid UTF-8,
|
||||
/// use the [`args`] function instead.
|
||||
///
|
||||
/// # Examples
|
||||
|
Loading…
x
Reference in New Issue
Block a user