Skip to content

Commit

Permalink
Auto merge of #9070 - joshtriplett:opt-level-vs-debug, r=Eh2406
Browse files Browse the repository at this point in the history
Remove statement that opt-level 0 turns on debug

See #9020 (comment)
  • Loading branch information
bors committed Jan 12, 2021
2 parents b64d668 + fb550f7 commit 68767ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ rearrange the compiled code which may make it harder to use with a debugger.

The valid options are:

* `0`: no optimizations, also turns on [`cfg(debug_assertions)`](#debug-assertions).
* `0`: no optimizations
* `1`: basic optimizations
* `2`: some optimizations
* `3`: all optimizations
Expand Down

0 comments on commit 68767ab

Please sign in to comment.