1
Fork 0

fix typos

This commit is contained in:
Dylan DPC 2022-03-15 02:00:08 +01:00
parent 285fa7ecd0
commit 13e889986d
16 changed files with 24 additions and 24 deletions

View file

@ -608,7 +608,7 @@ pub fn check_unsafety<'tcx>(tcx: TyCtxt<'tcx>, def: ty::WithOptConstParam<LocalD
let (thir, expr) = tcx.thir_body(def);
let thir = &thir.borrow();
// If `thir` is empty, a type error occured, skip this body.
// If `thir` is empty, a type error occurred, skip this body.
if thir.exprs.is_empty() {
return;
}