Skip to content

Commit 6591585

Browse files
authored
Merge pull request #3590 from rust-lang/TC/fix-higher-ranked-not-higher-kinded
Fix "higher kinded" -> "higher ranked" in RFC 3498
2 parents 43e8e96 + e413085 commit 6591585

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/3498-lifetime-capture-rules-2024.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ impl<T> Foo<T> {
288288

289289
### Capturing lifetimes from `for<..>` binders
290290

291-
Once higher kinded lifetime bounds on nested opaque types are supported in Rust (see [#104288][]), the following code will become legal:
291+
Once higher ranked lifetime bounds on nested opaque types are supported in Rust (see [#104288][]), the following code will become legal:
292292

293293
```rust
294294
trait Trait<'a> {
@@ -309,7 +309,7 @@ fn foo() -> impl for<'a> Trait<'a, Assoc = impl Sized> {
309309

310310
That is, the `'a` lifetime parameter from the higher ranked trait bounds (HRTBs) `for<..>` binder is in scope for the `impl Sized` opaque type, so it is captured under the rules of this RFC.
311311

312-
Note that support for higher kinded lifetime bounds is not required by this RFC and is not a blocker to stabilizing the rules specified in this RFC.
312+
Note that support for higher ranked lifetime bounds is not required by this RFC and is not a blocker to stabilizing the rules specified in this RFC.
313313

314314
[#104288]: https://github.com/rust-lang/rust/issues/104288
315315

0 commit comments

Comments
 (0)