Skip to content

Commit

Permalink
Rollup merge of rust-lang#81959 - therealprof:fix-typo, r=oli-obk
Browse files Browse the repository at this point in the history
Fix assosiated typo

Introduced in d3c4dbd, noticed only
after the fact, sorry. 😅

Signed-off-by: Daniel Egger <daniel@eggers-club.de>
  • Loading branch information
JohnTitor authored Feb 12, 2021
2 parents 66e9cd6 + a6d4137 commit e837477
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
);
}

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

0 comments on commit e837477

Please sign in to comment.