1
Fork 0

fix few typos

This commit is contained in:
klensy 2021-04-19 15:57:08 +03:00
parent 62652865b6
commit f43ee8ebf6
32 changed files with 39 additions and 39 deletions

View file

@ -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,