Fix comments
This commit is contained in:
parent
d3e9881ed1
commit
f99142b977
|
@ -1169,8 +1169,10 @@ impl<'c, 'b, 'a: 'b+'c, 'gcx, 'tcx: 'a> MirBorrowckCtxt<'c, 'b, 'a, 'gcx, 'tcx>
|
||||||
err.emit();
|
err.emit();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Finds the span of arguments of aclosure (within `maybe_closure_span`) and its usage of
|
/// Finds the span of arguments of a closure (within `maybe_closure_span`) and its usage of
|
||||||
/// the local assigned at `location`.
|
/// the local assigned at `location`.
|
||||||
|
/// This is done by searching in statements succeeding `location`
|
||||||
|
/// and originating from `maybe_closure_span`.
|
||||||
fn find_closure_span(
|
fn find_closure_span(
|
||||||
&self,
|
&self,
|
||||||
maybe_closure_span: Span,
|
maybe_closure_span: Span,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
|
// Copyright 2017 The Rust Project Developers. See the COPYRIGHT
|
||||||
// file at the top-level directory of this distribution and at
|
// file at the top-level directory of this distribution and at
|
||||||
// http://rust-lang.org/COPYRIGHT.
|
// http://rust-lang.org/COPYRIGHT.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue