File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ impl Toolchain {
208
208
fs:: rename ( tmpdir. into_path ( ) , dest) . map_err ( InstallError :: Move )
209
209
}
210
210
211
- pub ( crate ) fn remove ( & self , dl_params : & DownloadParams ) -> Result < ( ) , io :: Error > {
211
+ pub ( crate ) fn remove ( & self , dl_params : & DownloadParams ) -> io :: Result < ( ) > {
212
212
eprintln ! ( "uninstalling {}" , self ) ;
213
213
self . do_remove ( dl_params)
214
214
}
@@ -217,7 +217,7 @@ impl Toolchain {
217
217
///
218
218
/// The main reason to call this (instead of `fs::remove_dir_all` directly)
219
219
/// is to guard against deleting state not managed by `cargo-bisect-rustc`.
220
- fn do_remove ( & self , dl_params : & DownloadParams ) -> Result < ( ) , io :: Error > {
220
+ fn do_remove ( & self , dl_params : & DownloadParams ) -> io :: Result < ( ) > {
221
221
let rustup_name = self . rustup_name ( ) ;
222
222
223
223
// Guard against destroying directories that this tool didn't create.
You can’t perform that action at this time.
0 commit comments