Skip to content

Commit 54bf91e

Browse files
Apply suggestions from code review
Co-authored-by: Mark Rousskov <[email protected]>
1 parent 4b7eb44 commit 54bf91e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posts/2021-02-11-Rust-1.50.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ from the appropriate page on our website, and check out the
2525

2626
## What's in 1.50.0 stable
2727

28-
For this release, we have improved array indexing, expanded union field safety, refined file descriptors, and added to the standard library.
28+
For this release, we have improved array indexing, expanded safe access to union fields, and added to the standard library.
2929
See the [detailed release notes][notes] to learn about other changes
3030
not covered by this post.
3131

@@ -67,7 +67,7 @@ Some types in Rust have specific limitations on what is considered a
6767
valid value, which may not cover the entire range of possible memory
6868
values. We call any remaining invalid value a [niche], and this space
6969
may be used for type layout optimizations. For example, in Rust 1.28
70-
we introduced `NonZero` types where `0` is a niche, and this allowed
70+
we introduced `NonZero` integer types (like `NonZeroU8`) where `0` is a niche, and this allowed
7171
`Option<NonZero>` to use `0` to represent `None` with no extra memory.
7272

7373
On Unix platforms, Rust's `File` is simply made of the system's integer

0 commit comments

Comments
 (0)