Skip to content

Commit

Permalink
minor: make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Flash committed Dec 19, 2024
1 parent ea288fc commit 6acec0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/moon/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ impl BuildFlags {
} else if self.no_strip {
false
} else {
self.debug == false
!self.debug
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/moon/src/cli/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ fn run_test_internal(
} else if cmd.build_flags.no_strip {
false
} else {
moonc_opt.build_opt.debug_flag == false
cmd.build_flags.release
};
moonc_opt.link_opt.debug_flag = !cmd.build_flags.release;

Expand Down

0 comments on commit 6acec0d

Please sign in to comment.