Skip to content

Commit d2446cb

Browse files
No perma
1 parent a514d3b commit d2446cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

text/3668-async-closure.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Summary
1111
[summary]: #summary
1212

13-
This RFC adds an `async` bound modifier to the `Fn` family of trait bounds. The combination desugars to a set of perma-unstable `AsyncFn{,Mut,Once}` traits that parallel the current `Fn{,Mut,Once}` traits.
13+
This RFC adds an `async` bound modifier to the `Fn` family of trait bounds. The combination desugars to a set of unstable `AsyncFn{,Mut,Once}` traits that parallel the current `Fn{,Mut,Once}` traits.
1414

1515
These traits give users the ability to express bounds for async callable types that are higher-ranked, and allow async closures to return futures which borrow from the closure's captures.
1616

@@ -146,7 +146,7 @@ When called, they return an anonymous future type corresponding to the (not-yet-
146146

147147
### `AsyncFn*`
148148

149-
This RFC introduces a family of `AsyncFn` traits. These traits are intended to remain perma-unstable to name or implement, just like the `Fn` traits. Nonetheless, we'll describe the details of these traits so as to explain the user-facing features enabled by them.
149+
This RFC introduces a family of `AsyncFn` traits. These traits are intended to remain unstable to name or implement, just like the `Fn` traits. Nonetheless, we'll describe the details of these traits so as to explain the user-facing features enabled by them.
150150

151151
The definition of the traits is (modulo `rustc_` attributes, and the `"rust-call"` ABI):
152152

@@ -555,7 +555,7 @@ This shouldn't be too difficult to support, and we can unify these further by mo
555555

556556
There has been previous discussion of allowing `async` trait bounds on arbitrary traits, possibly based off a `?async` maybe-async genericity system.
557557

558-
This RFC neither requires this more general extension to the language to be implemented, nor does it necessarily preclude this being an eventual possibility, since `AsyncFn*` remains perma-unstable to implement.
558+
This RFC neither requires this more general extension to the language to be implemented, nor does it necessarily preclude this being an eventual possibility, since `AsyncFn*` remains unstable to implement.
559559

560560
### Making `async Fn()` object-safe
561561

0 commit comments

Comments
 (0)