Skip to content

Commit 1333ed3

Browse files
CentrilBatmanAoD
andauthored
tweak wordings in 1.41.1 blog post
Co-Authored-By: Kyle J Strand <[email protected]>
1 parent ac5031e commit 1333ed3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posts/2020-02-27-Rust-1.41.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you don't have it already, you can [get `rustup`][install] from the appropria
2222

2323
Rust 1.41.1 addresses two critical regressions introduced in Rust 1.41.0:
2424
a soundness hole related to static lifetimes, and a miscompilation causing segfaults.
25-
These regressions are not affecting past releases of Rust,
25+
These regressions do not affect earlier releases of Rust,
2626
and we recommend users of Rust 1.41.0 to upgrade as soon as possible.
2727
Another issue, related to interactions between `'static` and `Copy` implementations,
2828
dating back to Rust 1.0, was also addressed by this release.
@@ -105,7 +105,7 @@ error[E0597]: `temporary` does not live long enough
105105
| - `temporary` dropped here while still borrowed
106106
```
107107

108-
This happens because `Foo<'a>`, for some `'a`, only implements `Copy` when `'a: 'static`.
108+
This error occurs because `Foo<'a>`, for some `'a`, only implements `Copy` when `'a: 'static`.
109109
However, the `temporary` variable,
110110
with some lifetime `'0` does not outlive `'static` and hence `Foo<'0>` is not `Copy`,
111111
so using `drop` the second time around should be an error.

0 commit comments

Comments
 (0)