Skip to content

Commit f14a047

Browse files
authored
Update 08_overflow.md
if you read threw the profile docs it provides 4 profiles. https://doc.rust-lang.org/cargo/reference/profiles.html
1 parent bd17a59 commit f14a047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/02_basic_calculator/08_overflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ You may be wondering—what is a profile setting? Let's get into that!
6969
A [**profile**](https://doc.rust-lang.org/cargo/reference/profiles.html) is a set of configuration options that can be
7070
used to customize the way Rust code is compiled.
7171

72-
Cargo provides two built-in profiles: `dev` and `release`.\
72+
Cargo provides 4 built-in profiles: `dev`, `release`, `test`, and `bench`.\
7373
The `dev` profile is used every time you run `cargo build`, `cargo run` or `cargo test`. It's aimed at local
7474
development,
7575
therefore it sacrifices runtime performance in favor of faster compilation times and a better debugging experience.\

0 commit comments

Comments
 (0)