Skip to content

Commit d1f03cb

Browse files
authored
Fix a typo on closure.md (#1218)
1 parent 82d4c56 commit d1f03cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/closure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The other option is to step through the code using lldb or gdb.
162162

163163
Let's start with [`upvar.rs`][upvar]. This file has something called
164164
the [`euv::ExprUseVisitor`] which walks the source of the closure and
165-
invokes a callbackfor each upvar that is borrowed, mutated, or moved.
165+
invokes a callback for each upvar that is borrowed, mutated, or moved.
166166

167167
[`euv::ExprUseVisitor`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_typeck/expr_use_visitor/struct.ExprUseVisitor.html
168168

0 commit comments

Comments
 (0)