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(
84
84
// The paths we have saved from the unit are of arbitrary relativeness and may be
85
85
// relative to the crate root of the dependency.
86
86
let path = unit. pkg . root ( ) . join ( path) ;
87
- deps. insert ( path. into ( ) ) ;
87
+ deps. insert ( path) ;
88
88
}
89
89
}
90
90
}
Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ mod imp {
457
457
let mut winsize: libc:: winsize = mem:: zeroed ( ) ;
458
458
// The .into() here is needed for FreeBSD which defines TIOCGWINSZ
459
459
// 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 {
461
461
return TtyWidth :: NoTty ;
462
462
}
463
463
if winsize. ws_col > 0 {
You can’t perform that action at this time.
0 commit comments