Skip to content

Commit 4a00f2e

Browse files
LokathorRalfJung
andauthored
Update text/0000-cargo-check-lang-policy.md
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent 56a9c9b commit 4a00f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-cargo-check-lang-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Specifically, if a given Rust program does not compile with `cargo build` then i
3030

3131
Any example where the optimization level can affect if a program passes `cargo check` and/or `cargo build` is a bug. There are no situations where a change in optimization level is intended to affect if a `check` or `build` is successful.
3232
In particular, it is not okay to skip checks in dead code if (a) the optimization level can affect which code is considered dead and (b) the checks might lead to an error that causes the check/build not to pass.
33-
This policy favors consistency and predictability over performance.
33+
This aspect of the policy favors consistency and predictability over performance.
3434

3535
# Unresolved questions
3636
[unresolved-questions]: #unresolved-questions

0 commit comments

Comments
 (0)