From fe9bb26e783fd6f09348019938b83f77f8185206 Mon Sep 17 00:00:00 2001 From: Dabo Ross Date: Sun, 15 Mar 2015 00:00:26 -0700 Subject: [PATCH] Fix an String -> a String in env.rs documentation Super minor change! The `an String` was introduced in https://github.com/rust-lang/rust/commit/a828e7948069f310dc5b33be8edb65e5e8e0cf9a#diff-b596503c7c33ce457b6d047e351ac12bR423, which changed `an OsString` to `an String`. --- src/libstd/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/env.rs b/src/libstd/env.rs index 250c5edbcf1..27f78906ec2 100644 --- a/src/libstd/env.rs +++ b/src/libstd/env.rs @@ -452,7 +452,7 @@ pub fn get_exit_status() -> i32 { EXIT_STATUS.load(Ordering::SeqCst) as i32 } -/// An iterator over the arguments of a process, yielding an `String` value +/// An iterator over the arguments of a process, yielding a `String` value /// for each argument. /// /// This structure is created through the `std::env::args` method.