Skip to content

Commit 0e08d96

Browse files
committed
Fix tidy
1 parent 5d5ab8b commit 0e08d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/method/suggest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
562562
// have one, in order to implement `Ord` you need to restrict `TypeParam: FnPtr` so
563563
// that `impl<T: FnPtr> Ord for T` can apply", which is not what we want. We have a type
564564
// parameter, we want to directly say "`Ord::cmp` and `Iterator::cmp` exist, restrict
565-
// `TypeParam: Ord` or `TypeParam: Iterator". That is done further down when calling
565+
// `TypeParam: Ord` or `TypeParam: Iterator`"". That is done further down when calling
566566
// `self.suggest_traits_to_import`, so we ignore the `unsatisfied_predicates`
567567
// suggestions.
568568
} else if !unsatisfied_predicates.is_empty() {

0 commit comments

Comments
 (0)