Skip to content

Commit 8937720

Browse files
committed
Fix typo
1 parent 37d7de3 commit 8937720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_analysis/src/collect/predicates_of.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fn gather_explicit_predicates_of(tcx: TyCtxt<'_>, def_id: DefId) -> ty::GenericP
7575

7676
const NO_GENERICS: &hir::Generics<'_> = hir::Generics::empty();
7777

78-
// We use an `IndexSet` to preserves order of insertion.
78+
// We use an `IndexSet` to preserve order of insertion.
7979
// Preserving the order of insertion is important here so as not to break UI tests.
8080
let mut predicates: FxIndexSet<(ty::Predicate<'_>, Span)> = FxIndexSet::default();
8181

0 commit comments

Comments
 (0)