Skip to content

Commit

Permalink
apply clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnatsel committed Nov 23, 2024
1 parent 0431135 commit c9e926f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cargo-auditable/src/rustc_arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,8 @@ pub fn should_embed_audit_data(args: &RustcArgs) -> bool {
}

// --print disables compilation UNLESS --emit is also specified
if !args.print.is_empty() {
if args.emit.is_empty() {
return false;
}
if !args.print.is_empty() && args.emit.is_empty() {
return false;
}

true
Expand Down

0 comments on commit c9e926f

Please sign in to comment.