diff options
| -rw-r--r-- | compiler/rustc_typeck/src/expr_use_visitor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_typeck/src/expr_use_visitor.rs b/compiler/rustc_typeck/src/expr_use_visitor.rs index 806f1a2711c..6c76a8960bb 100644 --- a/compiler/rustc_typeck/src/expr_use_visitor.rs +++ b/compiler/rustc_typeck/src/expr_use_visitor.rs @@ -667,7 +667,7 @@ impl<'a, 'tcx> ExprUseVisitor<'a, 'tcx> { /// When the current body being handled is a closure, then we must make sure that /// - The parent closure only captures Places from the nested closure that are not local to it. /// - /// In the following example the closures `c` only captures `p.x`` even though `incr` + /// In the following example the closures `c` only captures `p.x` even though `incr` /// is a capture of the nested closure /// /// ```rust,ignore(cannot-test-this-because-pseudo-code) |
