Skip to content

Commit f5f46ff

Browse files
committed
Expand alert
1 parent e63b98f commit f5f46ff

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,10 @@ which optimizes the binary for **speed**. To instruct Cargo to optimize for mini
6565
opt-level = "z" # Optimize for size.
6666
```
6767

68-
Note that in some cases the `"s"` level may result in a smaller binary than `"z"`, as explained in
69-
the
70-
[`opt-level` documentation](https://doc.rust-lang.org/cargo/reference/profiles.html#opt-level):
71-
72-
> [!TIP]
68+
> [!NOTE]
69+
> In some cases the `"s"` level may result in a smaller binary than `"z"`, as explained in the
70+
> [`opt-level` documentation](https://doc.rust-lang.org/cargo/reference/profiles.html#opt-level):
71+
>
7372
> It is recommended to experiment with different levels to find the right balance for your project.
7473
> There may be surprising results, such as ... the `"s"` and `"z"` levels not being necessarily
7574
> smaller.

0 commit comments

Comments
 (0)