File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ impl TestProps {
400400 }
401401}
402402
403- fn iter_header ( testfile : & Path , cfg : Option < & str > , it : & mut FnMut ( & str ) ) {
403+ fn iter_header ( testfile : & Path , cfg : Option < & str > , it : & mut dyn FnMut ( & str ) ) {
404404 if testfile. is_dir ( ) {
405405 return ;
406406 }
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ mod imp {
4242
4343 pub fn read2 ( mut out_pipe : ChildStdout ,
4444 mut err_pipe : ChildStderr ,
45- data : & mut FnMut ( bool , & mut Vec < u8 > , bool ) ) -> io:: Result < ( ) > {
45+ data : & mut dyn FnMut ( bool , & mut Vec < u8 > , bool ) ) -> io:: Result < ( ) > {
4646 unsafe {
4747 libc:: fcntl ( out_pipe. as_raw_fd ( ) , libc:: F_SETFL , libc:: O_NONBLOCK ) ;
4848 libc:: fcntl ( err_pipe. as_raw_fd ( ) , libc:: F_SETFL , libc:: O_NONBLOCK ) ;
You can’t perform that action at this time.
0 commit comments