diff options
| author | bors <bors@rust-lang.org> | 2015-02-05 15:22:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-02-05 15:22:48 +0000 |
| commit | 2c05354211b04a52cc66a0b8ad8b2225eaf9e972 (patch) | |
| tree | d9e86702774074efe4d9f44aba0fad8355e1655e /src/libstd/old_io/process.rs | |
| parent | 2bd8ec2d197809fc0f0efccf1de14419ffb17b2b (diff) | |
| parent | 92f11e938a80a719badcd2168a2e38a2a800fcb6 (diff) | |
| download | rust-2c05354211b04a52cc66a0b8ad8b2225eaf9e972.tar.gz rust-2c05354211b04a52cc66a0b8ad8b2225eaf9e972.zip | |
Auto merge of #21843 - japaric:kindless, r=alexcrichton
This needs a snapshot that includes #21805 before it can be merged. There are some places where type inference regressed after I removed the annotations (see `FIXME`s). cc @nikomatsakis. r? @eddyb or anyone (I'll remove the `FIXME`s before merging, as they are only intended to point out regressions)
Diffstat (limited to 'src/libstd/old_io/process.rs')
| -rw-r--r-- | src/libstd/old_io/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/old_io/process.rs b/src/libstd/old_io/process.rs index 27af957e18e..90395142494 100644 --- a/src/libstd/old_io/process.rs +++ b/src/libstd/old_io/process.rs @@ -703,7 +703,7 @@ impl Process { let (tx, rx) = channel(); match stream { Some(stream) => { - Thread::spawn(move |:| { + Thread::spawn(move || { let mut stream = stream; tx.send(stream.read_to_end()).unwrap(); }); |
