Skip to content

Commit 3cea474

Browse files
authored
Merge pull request #1634 from n0toose/input-parameter-clarifications
Clarify Fn in fn/closures/input_parameters.md
2 parents a5f384b + 132daa4 commit 3cea474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fn/closures/input_parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ closure.
2222
This is because if a move is possible, then any type of borrow should also
2323
be possible. Note that the reverse is not true. If the parameter is
2424
annotated as `Fn`, then capturing variables by `&mut T` or `T` are not
25-
allowed.
25+
allowed. However, `&T` is allowed.
2626

2727
In the following example, try swapping the usage of `Fn`, `FnMut`, and
2828
`FnOnce` to see what happens:

0 commit comments

Comments
 (0)