Rollup merge of #22884 - japaric:obsolete, r=alexcrichton
This is leftover from #21843 If you still have `|&:| {}` closures in your code, simply remove the `&:` part. [breaking-change]
This commit is contained in:
commit
040a811b91
7 changed files with 24 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue