From 7ad2e22e4ee1cfc5c6c4a53a6d19f2b853de1c6e Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Fri, 27 Feb 2015 21:21:09 -0500 Subject: remove leftover annotations --- src/libstd/sys/unix/process2.rs | 2 +- src/libstd/sys/windows/process2.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/sys/unix/process2.rs b/src/libstd/sys/unix/process2.rs index b7a1b002f55..1b77b4fe75c 100644 --- a/src/libstd/sys/unix/process2.rs +++ b/src/libstd/sys/unix/process2.rs @@ -274,7 +274,7 @@ impl Process { // file descriptor. Otherwise, the first file descriptor opened // up in the child would be numbered as one of the stdio file // descriptors, which is likely to wreak havoc. - let setup = |&: src: Option, dst: c_int| { + let setup = |src: Option, dst: c_int| { let src = match src { None => { let flags = if dst == libc::STDIN_FILENO { diff --git a/src/libstd/sys/windows/process2.rs b/src/libstd/sys/windows/process2.rs index d4c6e85489f..8a6a485cbbe 100644 --- a/src/libstd/sys/windows/process2.rs +++ b/src/libstd/sys/windows/process2.rs @@ -160,7 +160,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