From e0cfc8c17afc98f543b41232352c254ec122cea1 Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Thu, 7 Oct 2021 15:13:58 -0700 Subject: [PATCH] Update src/closure.md Co-authored-by: Joshua Nelson --- src/closure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/closure.md b/src/closure.md index 20dccc8a..a38e9324 100644 --- a/src/closure.md +++ b/src/closure.md @@ -199,7 +199,7 @@ Mutability and Type and is defined in comments, "`cmt` is a complete categorization of a value indicating where it originated and how it is located, as well as the mutability of the memory in which the value is stored". Based on the callback (consume, borrow etc.), we -will call the relevant *adjust_upvar_borrow_kind_for_\* and pass the +will call the relevant `adjust_upvar_borrow_kind_for_` and pass the `cmt` along. Once the borrow type is adjusted, we store it in the table, which basically says what borrows were made for each closure.