From 12dd7781d64f5898a435bb3d0210e0518285e128 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 30 Dec 2014 21:01:00 -0500 Subject: std: unbox closures used in let bindings --- src/libstd/sys/windows/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/sys/windows') diff --git a/src/libstd/sys/windows/process.rs b/src/libstd/sys/windows/process.rs index 0c2c76077dd..b03c62395d1 100644 --- a/src/libstd/sys/windows/process.rs +++ b/src/libstd/sys/windows/process.rs @@ -162,7 +162,7 @@ impl Process { // Similarly to unix, we don't actually leave holes for the stdio file // descriptors, but rather open up /dev/null equivalents. These // equivalents are drawn from libuv's windows process spawning. - let set_fd = |fd: &Option

, slot: &mut HANDLE, + let set_fd = |&: fd: &Option

, slot: &mut HANDLE, is_stdin: bool| { match *fd { None => { -- cgit 1.4.1-3-g733a5