Skip to content

Commit b839c77

Browse files
authored
Fix typos in 08_overflow.md. (#261)
* Fix a typo in "Profiles" section - change "form" to "from". * Remove "etc.", as it should not be used together with "e.g.".
1 parent fd23b20 commit b839c77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: book/src/02_basic_calculator/08_overflow.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ development,
7575
therefore it sacrifices runtime performance in favor of faster compilation times and a better debugging experience.\
7676
The `release` profile, instead, is optimized for runtime performance but incurs longer compilation times. You need
7777
to explicitly request via the `--release` flag—e.g. `cargo build --release` or `cargo run --release`.
78-
The `test` profile is the default profile used by `cargo test`. The `test` profile inherits the settings form the `dev` profile.
78+
The `test` profile is the default profile used by `cargo test`. The `test` profile inherits the settings from the `dev` profile.
7979
The `bench` profile is the default profile used by `cargo bench`. The `bench` profile inherits from the `release` profile.
8080
Use `dev` for iterative development and debugging, `release` for optimized production builds,\
8181
`test` for correctness testing, and `bench` for performance benchmarking.
8282

8383
> "Have you built your project in release mode?" is almost a meme in the Rust community.\
8484
> It refers to developers who are not familiar with Rust and complain about its performance on
85-
> social media (e.g. Reddit, Twitter, etc.) before realizing they haven't built their project in
85+
> social media (e.g. Reddit, Twitter) before realizing they haven't built their project in
8686
> release mode.
8787
8888
You can also define custom profiles or customize the built-in ones.

0 commit comments

Comments
 (0)