diff options
Diffstat (limited to 'src/libstd/sys/unix/process2.rs')
| -rw-r--r-- | src/libstd/sys/unix/process2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/process2.rs b/src/libstd/sys/unix/process2.rs index a7d0a864a08..1ae59139bc4 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<AnonPipe>, dst: c_int| { + let setup = |src: Option<AnonPipe>, dst: c_int| { let src = match src { None => { let flags = if dst == libc::STDIN_FILENO { |
