1
Fork 0

Fix typos (taking into account review comments)

This commit is contained in:
blyxyas 2024-05-18 18:08:11 +02:00
parent 685a80f7a0
commit c5c820e7fb
29 changed files with 36 additions and 36 deletions

View file

@ -652,7 +652,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
}
// FIXME: We make sure that this is a normal top-level binding,
// but we could suggest `todo!()` for all uninitialized bindings in the pattern pattern
// but we could suggest `todo!()` for all uninitialized bindings in the pattern
if let hir::StmtKind::Let(hir::LetStmt { span, ty, init: None, pat, .. }) =
&ex.kind
&& let hir::PatKind::Binding(..) = pat.kind