From dbdf11693382698b8a478a3b062fc721b2e7d2b6 Mon Sep 17 00:00:00 2001 From: leongross Date: Mon, 13 Nov 2023 15:24:41 +0100 Subject: [PATCH] clippy fixes --- src/toolchain/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/toolchain/mod.rs b/src/toolchain/mod.rs index 90ffaa4d..888d6f7b 100644 --- a/src/toolchain/mod.rs +++ b/src/toolchain/mod.rs @@ -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; @@ -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);