Skip to content

Commit d187219

Browse files
committed
Fix doc typo
1 parent 18840b0 commit d187219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_typeck/src/expr_use_visitor.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ impl<'a, 'tcx> ExprUseVisitor<'a, 'tcx> {
667667
/// When the current body being handled is a closure, then we must make sure that
668668
/// - The parent closure only captures Places from the nested closure that are not local to it.
669669
///
670-
/// In the following example the closures `c` only captures `p.x`` even though `incr`
670+
/// In the following example the closures `c` only captures `p.x` even though `incr`
671671
/// is a capture of the nested closure
672672
///
673673
/// ```rust,ignore(cannot-test-this-because-pseudo-code)

0 commit comments

Comments
 (0)