File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ pub fn setup(s: Scenario, f: &Fn(&mut Config)) {
98
98
distdir : distdir. path ( ) . to_owned ( ) ,
99
99
rustupdir : rustupdir. path ( ) . to_owned ( ) ,
100
100
customdir : customdir. path ( ) . to_owned ( ) ,
101
- cargodir : cargodir ,
101
+ cargodir,
102
102
homedir : homedir. path ( ) . to_owned ( ) ,
103
103
emptydir : emptydir. path ( ) . to_owned ( ) ,
104
104
workdir : RefCell :: new ( workdir. path ( ) . to_owned ( ) ) ,
@@ -559,12 +559,12 @@ fn build_mock_channel(
559
559
available : true ,
560
560
components : vec ! [ ] ,
561
561
extensions : vec ! [ ] ,
562
- installer : installer ,
562
+ installer,
563
563
} ) ;
564
564
565
565
MockPackage {
566
- name : name ,
567
- version : version ,
566
+ name,
567
+ version,
568
568
targets : target_pkgs. collect ( ) ,
569
569
}
570
570
} ) ;
@@ -629,7 +629,7 @@ fn build_mock_channel(
629
629
MockChannel {
630
630
name : channel. to_string ( ) ,
631
631
date : date. to_string ( ) ,
632
- packages : packages ,
632
+ packages,
633
633
renames,
634
634
}
635
635
}
Original file line number Diff line number Diff line change @@ -105,9 +105,9 @@ impl MockFile {
105
105
106
106
fn _new ( path : String , contents : Arc < Vec < u8 > > ) -> MockFile {
107
107
MockFile {
108
- path : path ,
108
+ path,
109
109
contents : Contents :: File ( MockContents {
110
- contents : contents ,
110
+ contents,
111
111
executable : false ,
112
112
} ) ,
113
113
}
You can’t perform that action at this time.
0 commit comments