Skip to content

Commit

Permalink
Mini stylistic choice
Browse files Browse the repository at this point in the history
  • Loading branch information
blyxyas committed Sep 25, 2023
1 parent 9a2089d commit 2f6ae0f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions collector/src/toolchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,7 @@ impl SysrootDownload {
let components = ToolchainComponents::from_binaries_and_libdir(
sysroot_bin("rustc")?,
Some(sysroot_bin("rustdoc")?),
match sysroot_bin("cargo-clippy") {
Err(_) => None,
Ok(path) => Some(path),
},
sysroot_bin("cargo-clippy").ok(),
sysroot_bin("cargo")?,
&self.directory.join(&self.rust_sha).join("lib"),
)?;
Expand Down

0 comments on commit 2f6ae0f

Please sign in to comment.