Skip to content

Commit be0de2a

Browse files
tmandryjoshtriplett
andcommitted
Apply suggestions from code review
Co-authored-by: Josh Triplett <[email protected]>
1 parent 928ecf2 commit be0de2a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

posts/2022-02-24-Rust-1.59.0.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The Rust language now supports inline assembly. This enables many applications
2929
of Rust that need very low-level control over their execution, or access to
3030
specialized machine instructions.
3131

32-
When compiling for x86 and x86-64 targets, for instance, you can now write:
32+
When compiling for x86-64 targets, for instance, you can now write:
3333

3434
```rust
3535
use std::arch::asm;
@@ -83,7 +83,7 @@ assert_eq!([1, 2, 1, 4, 5], [a, b, c, d, e]);
8383
```
8484

8585
This makes assignment more consistent with let bindings, which allow you to do
86-
the same thing. Note that assignments with operators such as `+=` are not
86+
the same thing. Note that destructuring assignments with operators such as `+=` are not
8787
allowed.
8888

8989
### Const generics defaults and interleaving
@@ -162,6 +162,8 @@ strip = "debuginfo"
162162
This causes debuginfo to be stripped from release binaries. You can also supply
163163
`"symbols"` or just `true` to strip all symbol information where supported.
164164

165+
The standard library ships with debug symbols by default, so Rust binaries built without debug symbols enabled still by default include the debug symbols of the standard library. The `strip` allows you to remove those symbols, producing smaller Rust binaries.
166+
165167
### Stabilized APIs
166168

167169
The following methods and trait implementations were stabilized.

0 commit comments

Comments
 (0)