Skip to content

Commit 81f78af

Browse files
committed
make consistent error message
1 parent 5b76fb3 commit 81f78af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/build_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl BuildConfig {
6464
let cfg = config.build_config()?;
6565
let requested_kinds = CompileKind::from_requested_targets(config, requested_targets)?;
6666
if jobs == Some(0) {
67-
anyhow::bail!("jobs must not be zero")
67+
anyhow::bail!("jobs may not be 0")
6868
}
6969
if jobs.is_some() && config.jobserver_from_env().is_some() {
7070
config.shell().warn(

0 commit comments

Comments
 (0)