From 1778f30cd8a0da497c9d2d10338d9e4dcf7febbd Mon Sep 17 00:00:00 2001 From: r00ster Date: Tue, 27 Apr 2021 21:31:04 +0200 Subject: [PATCH] Make sentence in env::args_os' docs plain and simple --- library/std/src/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/env.rs b/library/std/src/env.rs index 116a37249e392..d20bb58584101 100644 --- a/library/std/src/env.rs +++ b/library/std/src/env.rs @@ -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