From 0479d90b77ab2b9abe9e242980ce8ec53fb7761d Mon Sep 17 00:00:00 2001 From: Pierre Baillet Date: Sat, 7 Feb 2015 15:11:25 +0100 Subject: [PATCH] Update deprecation notice. - add namespace - add function parens --- src/libstd/os.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/os.rs b/src/libstd/os.rs index 1a617694456..526b5edd4cb 100644 --- a/src/libstd/os.rs +++ b/src/libstd/os.rs @@ -723,7 +723,7 @@ extern "system" { /// 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 { real_args()