Skip to content

Commit

Permalink
Remove useless conditional compilation - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau authored and calebcartwright committed Jul 18, 2022
1 parent dde2831 commit 85fdf8e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -982,11 +982,7 @@ fn rustfmt() -> PathBuf {
assert!(
me.is_file() || me.with_extension("exe").is_file(),
"{}",
if cfg!(release) {
"no rustfmt bin, try running `cargo build --release` before testing"
} else {
"no rustfmt bin, try running `cargo build` before testing"
}
"no rustfmt bin, try running `cargo build` or `cargo build --release` before testing"
);
me
}
Expand Down

0 comments on commit 85fdf8e

Please sign in to comment.