diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2022-12-12 16:43:38 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2022-12-12 16:43:38 -0300 |
| commit | 893772025d4350ba1c8bb417825a03ccd50ea046 (patch) | |
| tree | 6f979e0f0b32e557674837b624e9a71cf277026c | |
| parent | 37d7de337903a558dbeb1e82c844fe915ab8ff25 (diff) | |
| download | rust-893772025d4350ba1c8bb417825a03ccd50ea046.tar.gz rust-893772025d4350ba1c8bb417825a03ccd50ea046.zip | |
Fix typo
| -rw-r--r-- | compiler/rustc_hir_analysis/src/collect/predicates_of.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/collect/predicates_of.rs b/compiler/rustc_hir_analysis/src/collect/predicates_of.rs index 45e241f4e09..32dfd5831ef 100644 --- a/compiler/rustc_hir_analysis/src/collect/predicates_of.rs +++ b/compiler/rustc_hir_analysis/src/collect/predicates_of.rs @@ -75,7 +75,7 @@ fn gather_explicit_predicates_of(tcx: TyCtxt<'_>, def_id: DefId) -> ty::GenericP const NO_GENERICS: &hir::Generics<'_> = hir::Generics::empty(); - // We use an `IndexSet` to preserves order of insertion. + // We use an `IndexSet` to preserve order of insertion. // Preserving the order of insertion is important here so as not to break UI tests. let mut predicates: FxIndexSet<(ty::Predicate<'_>, Span)> = FxIndexSet::default(); |
