Skip to content

Commit 88faa5b

Browse files
Recommend for users to write
1 parent 3298481 commit 88faa5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3668-async-closure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ takes_async_closure(async |i| {
125125
});
126126
```
127127

128-
We recommend using `async Fn()`/`async FnMut()`/`async FnOnce()` and `async ||` for async closures. This is more flexible than a closure returning a future for the reasons described elsewhere in this RFC.
128+
We recommend for users to write `async Fn()`/`async FnMut()`/`async FnOnce()` and `async ||` for async closures. This is more flexible than a closure returning a future for the reasons described elsewhere in this RFC.
129129

130130
Async closures act similarly to closures, and can have parts of their their signatures specified:
131131

0 commit comments

Comments
 (0)