about summary refs log tree commit diff
path: root/src/libstd/old_io/process.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-02-05 15:22:48 +0000
committerbors <bors@rust-lang.org>2015-02-05 15:22:48 +0000
commit2c05354211b04a52cc66a0b8ad8b2225eaf9e972 (patch)
treed9e86702774074efe4d9f44aba0fad8355e1655e /src/libstd/old_io/process.rs
parent2bd8ec2d197809fc0f0efccf1de14419ffb17b2b (diff)
parent92f11e938a80a719badcd2168a2e38a2a800fcb6 (diff)
downloadrust-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.rs2
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();
                     });