rollup merge of #22052: octplane/patch-1

- add namespace
- add function parens
This commit is contained in:
Alex Crichton 2015-02-10 08:41:46 -08:00
commit 6e6bea6e07

View File

@ -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<String> {
real_args()