Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
leongross committed Nov 13, 2023
1 parent 406b0b2 commit dbdf116
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/toolchain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ use crate::{
},
};
use async_trait::async_trait;
use clap::builder::OsStr;
use flate2::bufread::GzDecoder;
use log::{debug, info, warn};
use miette::Result;
Expand Down Expand Up @@ -153,7 +152,7 @@ pub async fn install(args: InstallOpts, install_mode: InstallMode) -> Result<()>
e,
rust::TOOLCHAIN_FALLBACK
);
return String::from(rust::TOOLCHAIN_FALLBACK);
String::from(rust::TOOLCHAIN_FALLBACK)
})
};
let toolchain_dir = get_rustup_home().join("toolchains").join(args.name);
Expand Down

0 comments on commit dbdf116

Please sign in to comment.