Fix doc typo
This commit is contained in:
parent
18840b0719
commit
d1872194c8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
/// 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.
|
/// - 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
|
/// is a capture of the nested closure
|
||||||
///
|
///
|
||||||
/// ```rust,ignore(cannot-test-this-because-pseudo-code)
|
/// ```rust,ignore(cannot-test-this-because-pseudo-code)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue