Skip to content

Commit

Permalink
Hecking trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
chorman0773 committed Sep 23, 2024
1 parent 017b42a commit e5028f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/closure.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ types, by copy, regardless of whether a borrow would work. The `move` keyword is
usually used to allow the closure to outlive the captured values, such as if the
closure is being returned or used to spawn a new thread.

r[type.closure.capture.composite]
r[type.closure.capture.composite]
Composite types such as structs, tuples, and enums are always captured entirely,
not by individual fields. It may be necessary to borrow into a local variable in
order to capture a single field:
Expand Down

0 comments on commit e5028f7

Please sign in to comment.