diff options
| author | ThibsG <thibsg@pm.me> | 2021-07-24 20:49:20 +0200 |
|---|---|---|
| committer | ThibsG <thibsg@pm.me> | 2021-07-24 20:49:20 +0200 |
| commit | d1872194c8305635aa850ceb77d734609731d66f (patch) | |
| tree | be15d50a836487704c1729f684f075ec0c6639b6 | |
| parent | 18840b0719aa766a1bc49ea2eb5dc2e4cde7da3f (diff) | |
| download | rust-d1872194c8305635aa850ceb77d734609731d66f.tar.gz rust-d1872194c8305635aa850ceb77d734609731d66f.zip | |
Fix doc typo
| -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) |
