Fix a typo on closure.md (#1218)

This commit is contained in:
Dave Farnham 2021-09-23 21:00:29 -06:00 committed by GitHub
parent 82d4c5604d
commit d1f03cbaa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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