From d1f03cbaa39d9164f5fe4b9b93762668142e0dad Mon Sep 17 00:00:00 2001 From: Dave Farnham Date: Thu, 23 Sep 2021 21:00:29 -0600 Subject: [PATCH] Fix a typo on closure.md (#1218) --- src/closure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/closure.md b/src/closure.md index 93683383f..1d7f4bccd 100644 --- a/src/closure.md +++ b/src/closure.md @@ -162,7 +162,7 @@ The other option is to step through the code using lldb or gdb. Let's start with [`upvar.rs`][upvar]. This file has something called the [`euv::ExprUseVisitor`] which walks the source of the closure and -invokes a callbackfor each upvar that is borrowed, mutated, or moved. +invokes a callback for each upvar that is borrowed, mutated, or moved. [`euv::ExprUseVisitor`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_typeck/expr_use_visitor/struct.ExprUseVisitor.html