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 1+ #![ allow( clippy:: box_default) ]
12//! Test support module; public to permit use from integration tests.
23use std:: collections:: HashMap ;
34use std:: env;
Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ impl Config {
762762
763763/// Change the current distribution manifest to a particular date
764764pub 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 ( ) ;
766766 for channel in & [ "nightly" , "beta" , "stable" ] {
767767 change_channel_date ( & url, channel, date) ;
768768 }
Original file line number Diff line number Diff line change 11// Tests of installation and updates from a v2 Rust distribution
22// server (mocked on the file system)
3+ #![ allow( clippy:: type_complexity) ]
34
45use std:: cell:: Cell ;
56use std:: collections:: HashMap ;
You can’t perform that action at this time.
0 commit comments