File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -753,7 +753,7 @@ pub(crate) fn install_proxies(process: &Process) -> Result<()> {
753
753
// `tool_handles` later on. This'll allow us, afterwards, to actually
754
754
// overwrite all the previous hard links with new ones.
755
755
for tool in TOOLS {
756
- let tool_path = bin_path. join ( & format ! ( "{tool}{EXE_SUFFIX}" ) ) ;
756
+ let tool_path = bin_path. join ( format ! ( "{tool}{EXE_SUFFIX}" ) ) ;
757
757
if let Ok ( handle) = Handle :: from_path ( & tool_path) {
758
758
tool_handles. push ( handle) ;
759
759
if rustup == * tool_handles. last ( ) . unwrap ( ) {
@@ -764,7 +764,7 @@ pub(crate) fn install_proxies(process: &Process) -> Result<()> {
764
764
}
765
765
766
766
for tool in DUP_TOOLS {
767
- let tool_path = bin_path. join ( & format ! ( "{tool}{EXE_SUFFIX}" ) ) ;
767
+ let tool_path = bin_path. join ( format ! ( "{tool}{EXE_SUFFIX}" ) ) ;
768
768
if let Ok ( handle) = Handle :: from_path ( & tool_path) {
769
769
// Like above, don't clobber anything that's already hardlinked to
770
770
// avoid extraneous errors from being returned.
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ info: default toolchain set to 'stable-{0}'
99
99
}
100
100
101
101
for tool in TOOLS . iter ( ) . chain ( DUP_TOOLS . iter ( ) ) {
102
- let path = & cx. config . cargodir . join ( & format ! ( "bin/{tool}{EXE_SUFFIX}" ) ) ;
102
+ let path = & cx. config . cargodir . join ( format ! ( "bin/{tool}{EXE_SUFFIX}" ) ) ;
103
103
check ( path) ;
104
104
}
105
105
}
You can’t perform that action at this time.
0 commit comments