Remove useless conditional compilation - 2

This commit is contained in:
Urgau 2022-07-17 14:18:57 +02:00 committed by Caleb Cartwright
parent dde28314da
commit 85fdf8ecec

View File

@ -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
}