We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dde2831 commit 85fdf8eCopy full SHA for 85fdf8e
src/test/mod.rs
@@ -982,11 +982,7 @@ fn rustfmt() -> PathBuf {
982
assert!(
983
me.is_file() || me.with_extension("exe").is_file(),
984
"{}",
985
- if cfg!(release) {
986
- "no rustfmt bin, try running `cargo build --release` before testing"
987
- } else {
988
- "no rustfmt bin, try running `cargo build` before testing"
989
- }
+ "no rustfmt bin, try running `cargo build` or `cargo build --release` before testing"
990
);
991
me
992
}
0 commit comments