fix few typos
This commit is contained in:
parent
62652865b6
commit
f43ee8ebf6
32 changed files with 39 additions and 39 deletions
|
@ -160,7 +160,7 @@ impl CapturedPlace<'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Returns the `LocalDefId` of the closure that captureed this Place
|
||||
/// Returns the `LocalDefId` of the closure that captured this Place
|
||||
pub fn get_closure_local_def_id(&self) -> LocalDefId {
|
||||
match self.place.base {
|
||||
HirPlaceBase::Upvar(upvar_id) => upvar_id.closure_expr_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue