Skip to content

Commit 07ccc1d

Browse files
author
Alexis Hunt
committed
Fix colon placement in note.
1 parent a84f4f7 commit 07ccc1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/types.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -452,10 +452,10 @@ more specific call traits:
452452
* A closure which does not mutate or move out of any captured variables
453453
implements `[Fn]`, indicating that it can be called by shared reference.
454454

455-
> Note that `move` closures may still implement `[Fn]` or `[FnMut]`, even
456-
> though they capture variables by move: this is because the traits
457-
> implemented by a closure type are determined by what the closure does with
458-
> captured values, not how it captures them.
455+
> Note: `move` closures may still implement `[Fn]` or `[FnMut]`, even though
456+
> they capture variables by move. This is because the traits implemented by a
457+
> closure type are determined by what the closure does with captured values, not
458+
> how it captures them.
459459
460460
*Non-capturing closures* are closures that don't capture anything from their
461461
environment. They can be coerced to function pointers (`fn`) with the matching

0 commit comments

Comments
 (0)