From c74efddc89859b9ddfbdccf8ccb2fa9862a1681d Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Tue, 10 Jan 2017 13:00:07 -0500 Subject: Fixes: * give the new feature its own feature tag * correct a lifetime problem in the test * use .output() instead of .spawn() in the test so that output is actually collected * correct the same error in the test whose skeleton I cribbed --- src/libstd/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd') diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 676ae286eaa..1b1f2291826 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -399,7 +399,7 @@ impl Command { /// .spawn() /// .expect("printenv failed to start"); /// ``` - #[stable(feature = "process", since = "1.16.0")] + #[stable(feature = "command_envs", since = "1.16.0")] pub fn envs(&mut self, vars: &[(K, V)]) -> &mut Command where K: AsRef, V: AsRef { -- cgit 1.4.1-3-g733a5