Skip to content

Commit 3ac4e8f

Browse files
ShE3pypetrochenkov
andauthored
Replace "positive" with "non-negative"
The latter is less ambiguous. Co-authored-by: Vadim Petrochenkov <[email protected]>
1 parent 1a54961 commit 3ac4e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_session/src/options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ mod desc {
385385
"`all` (default), `except-unused-generics`, `except-unused-functions`, or `off`";
386386
pub const parse_instrument_xray: &str = "either a boolean (`yes`, `no`, `on`, `off`, etc), or a comma separated list of settings: `always` or `never` (mutually exclusive), `ignore-loops`, `instruction-threshold=N`, `skip-entry`, `skip-exit`";
387387
pub const parse_unpretty: &str = "`string` or `string=string`";
388-
pub const parse_treat_err_as_bug: &str = "either no value or a positive number";
388+
pub const parse_treat_err_as_bug: &str = "either no value or a non-negative number";
389389
pub const parse_trait_solver: &str =
390390
"one of the supported solver modes (`classic`, `next`, or `next-coherence`)";
391391
pub const parse_lto: &str =

0 commit comments

Comments
 (0)