From fb550f7a8d41dc9afdec9b0115bf8a136592d4ce Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Tue, 12 Jan 2021 12:31:49 -0800 Subject: [PATCH] Remove statement that opt-level 0 turns on debug See https://github.com/rust-lang/cargo/pull/9020#issuecomment-751513035 --- src/doc/src/reference/profiles.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/src/reference/profiles.md b/src/doc/src/reference/profiles.md index 702e708baef..c8692f38c7e 100644 --- a/src/doc/src/reference/profiles.md +++ b/src/doc/src/reference/profiles.md @@ -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