Update text/3668-async-closures.md

add the note in one other place

Co-authored-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
Michael Goulet 2024-07-23 18:43:21 -04:00 committed by GitHub
parent 86ad4844b9
commit 576b9f41ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ In order for this to work, the `FnMut` trait would need to be ["lending"](https:
# Guide Level Explanation
(**note**: See the [naming blocking concern](#what-do-we-call-the-trait) about `async Fn*` vs `AsyncFn*` syntax. This RFC uses the `async Fn` syntax for trait bounds to avoid duplicating explanations for two different proposed syntaxes, but the syntax remains an open question.)
Just as you can write functions which accept closures, you can write functions which accept async closures:
```rust