Skip to content

Commit b0e2bef

Browse files
committed
Satisfy clippy
1 parent 863de9b commit b0e2bef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cargo-auditable/src/rustc_wrapper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn rustc_command_with_audit_data(rustc_path: &OsStr) -> Option<Command> {
6868
//
6969
// Binaries and C dynamic libraries are not built as non-primary packages,
7070
// so this should not cause issues with Cargo caches.
71-
if !env::var_os("CARGO_PRIMARY_PACKAGE").is_some() {
71+
if env::var_os("CARGO_PRIMARY_PACKAGE").is_none() {
7272
return None;
7373
}
7474
let args = rustc_arguments::parse_args().unwrap(); // descriptive enough message

0 commit comments

Comments
 (0)