Skip to content

Commit 59e4616

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

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

+5-3
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;
@@ -54,7 +54,7 @@ macros is the same used in Rust format strings, so it should feel quite familiar
5454
to Rust programmers.
5555

5656
The assembly language and instructions available in the assembly code itself vary according
57-
to the target architecture. Today, the following architectures are supported:
57+
to the target architecture. Today, the stable Rust compiler supports inline assembly on the following architectures:
5858

5959
* x86 and x86-64
6060
* ARM
@@ -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)