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 @@ -84,7 +84,7 @@ fn add_deps_for_unit(
8484 // The paths we have saved from the unit are of arbitrary relativeness and may be
8585 // relative to the crate root of the dependency.
8686 let path = unit. pkg . root ( ) . join ( path) ;
87- deps. insert ( path. into ( ) ) ;
87+ deps. insert ( path) ;
8888 }
8989 }
9090 }
Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ mod imp {
457457 let mut winsize: libc:: winsize = mem:: zeroed ( ) ;
458458 // The .into() here is needed for FreeBSD which defines TIOCGWINSZ
459459 // as c_uint but ioctl wants c_ulong.
460- if libc:: ioctl ( libc:: STDERR_FILENO , libc:: TIOCGWINSZ . into ( ) , & mut winsize) < 0 {
460+ if libc:: ioctl ( libc:: STDERR_FILENO , libc:: TIOCGWINSZ , & mut winsize) < 0 {
461461 return TtyWidth :: NoTty ;
462462 }
463463 if winsize. ws_col > 0 {
You can’t perform that action at this time.
0 commit comments