about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2017-01-10 13:00:07 -0500
committerZack Weinberg <zackw@panix.com>2017-01-10 13:00:07 -0500
commitc74efddc89859b9ddfbdccf8ccb2fa9862a1681d (patch)
treed378e39b2af09e5a92f7c0c4370e5ff8d2d8f1eb /src/libstd
parent55a6fdb7fdadd09ca93f91bb661a57942fd6ed8b (diff)
downloadrust-c74efddc89859b9ddfbdccf8ccb2fa9862a1681d.tar.gz
rust-c74efddc89859b9ddfbdccf8ccb2fa9862a1681d.zip
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
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/process.rs2
1 files changed, 1 insertions, 1 deletions
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<K, V>(&mut self, vars: &[(K, V)]) -> &mut Command
         where K: AsRef<OsStr>, V: AsRef<OsStr>
     {