Skip to content

Commit c9e926f

Browse files
committed
apply clippy lint
1 parent 0431135 commit c9e926f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

cargo-auditable/src/rustc_arguments.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,8 @@ pub fn should_embed_audit_data(args: &RustcArgs) -> bool {
8787
}
8888

8989
// --print disables compilation UNLESS --emit is also specified
90-
if !args.print.is_empty() {
91-
if args.emit.is_empty() {
92-
return false;
93-
}
90+
if !args.print.is_empty() && args.emit.is_empty() {
91+
return false;
9492
}
9593

9694
true

0 commit comments

Comments
 (0)