We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e334803 commit 5b57399Copy full SHA for 5b57399
src/config.rs
@@ -234,7 +234,7 @@ impl Cfg {
234
dist_root: &self.dist_root_url,
235
temp_cfg: &self.temp_cfg,
236
download_dir: &self.download_dir,
237
- notify_handler: notify_handler,
+ notify_handler,
238
pgp_keys: self.get_pgp_keys(),
239
}
240
src/fallback_settings.rs
@@ -29,7 +29,7 @@ impl FallbackSettings {
29
let io_err = e.source().unwrap().downcast_ref::<io::Error>().unwrap();
30
match io_err.kind() {
31
io::ErrorKind::NotFound | io::ErrorKind::PermissionDenied => Ok(None),
32
- _ => Err(e.into()),
+ _ => Err(e),
33
34
35
Err(e) => Err(e),
0 commit comments