1
Fork 0
* 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
This commit is contained in:
Zack Weinberg 2017-01-10 13:00:07 -05:00
parent 55a6fdb7fd
commit c74efddc89
3 changed files with 6 additions and 8 deletions

View file

@ -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>
{