Skip to content

Commit 0cff8fb

Browse files
eholkjyn514
andcommitted
Update src/closure.md
Co-authored-by: Joshua Nelson <github@jyn.dev>
1 parent 67faab2 commit 0cff8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/closure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Mutability and Type and is defined in
199199
comments, "`cmt` is a complete categorization of a value indicating where it
200200
originated and how it is located, as well as the mutability of the memory in
201201
which the value is stored". Based on the callback (consume, borrow etc.), we
202-
will call the relevant *adjust_upvar_borrow_kind_for_\<something\>* and pass the
202+
will call the relevant `adjust_upvar_borrow_kind_for_<something>` and pass the
203203
`cmt` along. Once the borrow type is adjusted, we store it in the table, which
204204
basically says what borrows were made for each closure.
205205

0 commit comments

Comments
 (0)