Skip to content

Commit 6ac0f88

Browse files
committed
Alter some wording, fix markdown
1 parent 343802e commit 6ac0f88

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

text/0000-remove-ndebug.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Summary
66

77
Remove official support for the `ndebug` config variable, replace the current usage of it with a
8-
more appropriate 'debug_assertions` compiler-provided config variable.
8+
more appropriate `debug_assertions` compiler-provided config variable.
99

1010
# Motivation
1111

@@ -23,9 +23,9 @@ a natural consequence.
2323

2424
# Detailed design
2525

26-
The `debug_assertions` variable, the replacement for the `ndebug` variable, will be compiler
27-
provided based on the value of the `opt-level` codegen flag, including the implied value from `-O`.
28-
Any value higher than 0 will disable the variable.
26+
The `debug_assertions` configuration variable, the replacement for the `ndebug` variable, will be
27+
compiler provided based on the value of the `opt-level` codegen flag, including the implied value
28+
from `-O`. Any value higher than 0 will disable the variable.
2929

3030
Another codegen flag `debug-assertions` will override this, forcing it on or off based on the value
3131
passed to it.

0 commit comments

Comments
 (0)