]> git.lizzy.rs Git - rust.git/commitdiff
Update deprecation notice.
authorPierre Baillet <pierre@baillet.name>
Sat, 7 Feb 2015 14:11:25 +0000 (15:11 +0100)
committerPierre Baillet <pierre@baillet.name>
Mon, 9 Feb 2015 21:20:22 +0000 (22:20 +0100)
- add namespace
- add function parens

src/libstd/os.rs

index 1a61769445664f83e14bbab9f4116cb85ac65e9a..526b5edd4cbde8bf5fb1497ff9af81db7c35c9cd 100644 (file)
@@ -723,7 +723,7 @@ fn CommandLineToArgvW(lpCmdLine: LPCWSTR,
 ///     println!("{}", argument);
 /// }
 /// ```
-#[deprecated(since = "1.0.0", reason = "use env::args instead")]
+#[deprecated(since = "1.0.0", reason = "use std::env::args() instead")]
 #[unstable(feature = "os")]
 pub fn args() -> Vec<String> {
     real_args()