File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ pub fn this_host_triple() -> String {
120
120
// For windows, this host may be different to the target: we may be
121
121
// building with i686 toolchain, but on an x86_64 host, so run the
122
122
// actual detection logic and trust it.
123
+ #[ allow( clippy:: box_default) ]
123
124
let tp = Box :: new ( currentprocess:: TestProcess :: default ( ) ) ;
124
125
return currentprocess:: with ( tp, || TargetTriple :: from_host ( ) . unwrap ( ) . to_string ( ) ) ;
125
126
}
Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ impl Config {
762
762
763
763
/// Change the current distribution manifest to a particular date
764
764
pub fn set_current_dist_date ( config : & Config , date : & str ) {
765
- let url = Url :: from_file_path ( & config. distdir . as_ref ( ) . unwrap ( ) ) . unwrap ( ) ;
765
+ let url = Url :: from_file_path ( config. distdir . as_ref ( ) . unwrap ( ) ) . unwrap ( ) ;
766
766
for channel in & [ "nightly" , "beta" , "stable" ] {
767
767
change_channel_date ( & url, channel, date) ;
768
768
}
Original file line number Diff line number Diff line change 1
1
// Tests of installation and updates from a v2 Rust distribution
2
2
// server (mocked on the file system)
3
+ #![ allow( clippy:: type_complexity) ]
3
4
4
5
use std:: cell:: Cell ;
5
6
use std:: collections:: HashMap ;
You can’t perform that action at this time.
0 commit comments