Skip to content

Commit 502e8af

Browse files
committed
Another clarification that async closures cannot be coerced to a fn pointer
1 parent 10240ea commit 502e8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/closure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ r[type.closure.call.fn]
491491
492492
r[type.closure.non-capturing]
493493
*Non-capturing closures* are closures that don't capture anything from their
494-
environment. They can be coerced to function pointers (e.g., `fn()`)
494+
environment. Non-async closures can be coerced to function pointers (e.g., `fn()`)
495495
with the matching signature.
496496

497497
```rust

0 commit comments

Comments
 (0)