about summary refs log tree commit diff
path: root/src/libstd/process.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-02-17 23:48:32 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2015-02-18 11:27:51 +1100
commit7a14f4994eb4527a38d02c61fa83822df02f7b5d (patch)
treed9d3698e9f2897195403fdf196d05b633bd4f581 /src/libstd/process.rs
parentadfcd93f0c3b624399934558f63d945b7b6b663a (diff)
downloadrust-7a14f4994eb4527a38d02c61fa83822df02f7b5d.tar.gz
rust-7a14f4994eb4527a38d02c61fa83822df02f7b5d.zip
Update tests for the Send - 'static change.
Diffstat (limited to 'src/libstd/process.rs')
-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 d2b98ec8939..05b5e47103f 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -458,7 +458,7 @@ impl Child {
     /// the parent waits for the child to exit.
     pub fn wait_with_output(mut self) -> io::Result<Output> {
         drop(self.stdin.take());
-        fn read<T: Read + Send>(stream: Option<T>) -> Receiver<io::Result<Vec<u8>>> {
+        fn read<T: Read + Send + 'static>(stream: Option<T>) -> Receiver<io::Result<Vec<u8>>> {
             let (tx, rx) = channel();
             match stream {
                 Some(stream) => {