From ebbb3297340b24ff6d08768f44d859873315346a Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Thu, 7 Oct 2021 10:23:23 -0700 Subject: [PATCH] Fix accidental HTML tag The markdown parser was interpreting the `` in `adjust_upvar_borrow_kind_for_` as an HTML tag that was hidden in the rendered text. This minor edit fixes that. --- src/closure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/closure.md b/src/closure.md index 1d7f4bcc..20dccc8a 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.