Skip to content

Commit

Permalink
Rollup merge of rust-lang#84624 - r00ster91:patch-5, r=JohnTitor
Browse files Browse the repository at this point in the history
Make sentence in env::args_os' docs plain and simple

Follow-up to rust-lang#84551. See rust-lang#84551 (comment) on why this makes more sense.
  • Loading branch information
JohnTitor authored Apr 28, 2021
2 parents 35eac42 + 1778f30 commit 0e72e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e72e0f

Please sign in to comment.