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
Dylan-DPC authored Feb 11, 2021
2 parents daccdb3 + a6d4137 commit 9e4c98d
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 9e4c98d

Please sign in to comment.