Skip to content

Commit e837477

Browse files
authored
Rollup merge of rust-lang#81959 - therealprof:fix-typo, r=oli-obk
Fix assosiated typo Introduced in d3c4dbd, noticed only after the fact, sorry. 😅 Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2 parents 66e9cd6 + a6d4137 commit e837477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir/src/borrow_check/diagnostics/mutability_errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
540540
);
541541
}
542542

543-
// Attempt to search similar mutable assosiated items for suggestion.
543+
// Attempt to search similar mutable associated items for suggestion.
544544
// In the future, attempt in all path but initially for RHS of for_loop
545545
fn suggest_similar_mut_method_for_for_loop(&self, err: &mut DiagnosticBuilder<'_>) {
546546
let hir = self.infcx.tcx.hir();

0 commit comments

Comments
 (0)