Skip to content

Commit

Permalink
Fix assosiated typo
Browse files Browse the repository at this point in the history
Introduced in d3c4dbd, noticed only
after the fact, sorry. 馃槄

Signed-off-by: Daniel Egger <daniel@eggers-club.de>
  • Loading branch information
therealprof committed Feb 10, 2021
1 parent f7534b5 commit a6d4137
Showing 1 changed file with 1 addition and 1 deletion.
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 a6d4137

Please sign in to comment.