Skip to content

Commit ddb6551

Browse files
committed
Out out of unhelpful clippy lint
1 parent b0e2bef commit ddb6551

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cargo-auditable/src/rustc_wrapper.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +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+
#[allow(clippy::question_mark)]
7172
if env::var_os("CARGO_PRIMARY_PACKAGE").is_none() {
7273
return None;
7374
}

0 commit comments

Comments
 (0)