]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #23384 - daboross:patch-2, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Sun, 15 Mar 2015 10:10:18 +0000 (15:40 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Sun, 15 Mar 2015 10:10:18 +0000 (15:40 +0530)
This changed `an String` to `a String`. Very minor change!

The usage of `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

index 250c5edbcf14d4c36b38bace2ede21d770576a02..27f78906ec2d0f3cb34c0dfea16effb9b0b56cee 100644 (file)
@@ -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.