Skip to content

Commit 0e72e0f

Browse files
authored
Rollup merge of #84624 - r00ster91:patch-5, r=JohnTitor
Make sentence in env::args_os' docs plain and simple Follow-up to #84551. See #84551 (comment) on why this makes more sense.
2 parents 35eac42 + 1778f30 commit 0e72e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/env.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ pub fn args() -> Args {
752752
/// does on macOS and Windows.
753753
///
754754
/// Note that the returned iterator will not check if the arguments to the
755-
/// process are valid Unicode. To ensure UTF-8 validity,
755+
/// process are valid Unicode. If you want to panic on invalid UTF-8,
756756
/// use the [`args`] function instead.
757757
///
758758
/// # Examples

0 commit comments

Comments
 (0)