Thanks Clippy :D

This commit is contained in:
mo8it
2024-04-25 15:58:46 +02:00
parent 8bf8b19a5d
commit c51f1b3f31
2 changed files with 5 additions and 7 deletions
+2 -4
View File
@@ -151,11 +151,9 @@ fn check_cargo_toml(
if old_bins != new_bins {
if DEBUG_PROFILE {
bail!("The file `dev/Cargo.toml` is outdated. Please run `cargo run -- dev update` to update it");
} else {
bail!(
"The file `Cargo.toml` is outdated. Please run `rustlings dev update` to update it",
);
}
bail!("The file `Cargo.toml` is outdated. Please run `rustlings dev update` to update it");
}
Ok(())