Skip to content

Commit

Permalink
Fix a typo on closure.md (#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfarnham committed Sep 24, 2021
1 parent 82d4c56 commit d1f03cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/closure.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d1f03cb

Please sign in to comment.