diff options
| author | bors <bors@rust-lang.org> | 2014-06-11 15:36:59 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-11 15:36:59 -0700 |
| commit | ceaeb667b327cff7ad286255d68cb5a8ba8a4d7c (patch) | |
| tree | c94cde854a882cad33d8ec7fe0067b43b5cb96d7 /src/libstd/io/process.rs | |
| parent | f9260d41d6e37653bf71b08a041be0310098716a (diff) | |
| parent | 3316b1eb7c3eb520896af489dd45c4d17190d0a8 (diff) | |
| download | rust-ceaeb667b327cff7ad286255d68cb5a8ba8a4d7c.tar.gz rust-ceaeb667b327cff7ad286255d68cb5a8ba8a4d7c.zip | |
auto merge of #14703 : alexcrichton/rust/no-more-owned-vectors, r=brson
The following features have been removed * `box [a, b, c]` * `~[a, b, c]` * `box [a, ..N]` * `~[a, ..N]` * `~[T]` (as a type) * deprecated_owned_vector lint All users of ~[T] should move to using Vec<T> instead.
Diffstat (limited to 'src/libstd/io/process.rs')
| -rw-r--r-- | src/libstd/io/process.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/process.rs b/src/libstd/io/process.rs index 3cb2fe1c8f1..a626d1f3a6c 100644 --- a/src/libstd/io/process.rs +++ b/src/libstd/io/process.rs @@ -856,8 +856,8 @@ mod tests { }) iotest!(fn test_add_to_env() { - let new_env = box [("RUN_TEST_NEW_ENV", "123")]; - let prog = env_cmd().env(new_env).spawn().unwrap(); + let new_env = vec![("RUN_TEST_NEW_ENV", "123")]; + let prog = env_cmd().env(new_env.as_slice()).spawn().unwrap(); let result = prog.wait_with_output().unwrap(); let output = str::from_utf8_lossy(result.output.as_slice()).into_string(); |
