Skip to content

Commit 624f0bd

Browse files
authored
Fix a typo on closure.md (rust-lang#1218)
1 parent 8f60378 commit 624f0bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustc-dev-guide/src/closure.md

Lines changed: 1 addition & 1 deletion
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)