diff options
| author | blyxyas <blyxyas@gmail.com> | 2024-05-18 18:08:11 +0200 |
|---|---|---|
| committer | blyxyas <blyxyas@gmail.com> | 2024-05-18 18:12:18 +0200 |
| commit | c5c820e7fba55da41b09f9c862eb0f3c01f34a26 (patch) | |
| tree | 14ff70660d87021ba5598def7f91c0f3b93efaf2 /compiler/rustc_borrowck/src | |
| parent | 685a80f7a0935c8e5016d8c9cd491937af155dd0 (diff) | |
Fix typos (taking into account review comments)
Diffstat (limited to 'compiler/rustc_borrowck/src')
| -rw-r--r-- | compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs index 15050c87b39..7802825a1b8 100644 --- a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs +++ b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs @@ -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 |
