File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ r[type.closure.call.fn]
496496
497497r[ type.closure.non-capturing]
498498* Non-capturing closures* are closures that don't capture anything from their
499- environment. Non-async closures can be coerced to function pointers (e.g., ` fn() ` )
499+ environment. Non-async, non-capturing closures can be coerced to function pointers (e.g., ` fn() ` )
500500with the matching signature.
501501
502502``` rust
@@ -521,7 +521,7 @@ The [`Future`] returned by the async closure has similar capturing characteristi
521521- The ` Future ` includes a mutable capture.
522522- The async closure captures by value, except when the value is accessed with a dereference projection.
523523
524- If the async closure is lending to its ` Future ` , then [ ` FnMut ` ] and [ ` Fn ` ] are * not* implemented.
524+ If the async closure is lending to its ` Future ` , then [ ` FnMut ` ] and [ ` Fn ` ] are * not* implemented. [ ` FnOnce ` ] is always implemented.
525525
526526> ** Example** : The first clause for a mutable capture can be illustrated with the following:
527527>
You can’t perform that action at this time.
0 commit comments