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 9a2089d commit 2f6ae0fCopy full SHA for 2f6ae0f
collector/src/toolchain.rs
@@ -123,10 +123,7 @@ impl SysrootDownload {
123
let components = ToolchainComponents::from_binaries_and_libdir(
124
sysroot_bin("rustc")?,
125
Some(sysroot_bin("rustdoc")?),
126
- match sysroot_bin("cargo-clippy") {
127
- Err(_) => None,
128
- Ok(path) => Some(path),
129
- },
+ sysroot_bin("cargo-clippy").ok(),
130
sysroot_bin("cargo")?,
131
&self.directory.join(&self.rust_sha).join("lib"),
132
)?;
0 commit comments