1
Fork 0

Consistently use 'supertrait'.

A subset of places referred to 'super-trait', so this changes them
to all use 'supertrait'. This matches 'supertype' and some other
usages. An exception is 'auto-trait' which is consistently used
in that manner.
This commit is contained in:
Bruce Mitchener 2021-10-02 07:21:01 +07:00
parent c02371c442
commit 058a21d5cf
25 changed files with 88 additions and 88 deletions

View file

@ -682,7 +682,7 @@ impl<'tcx> DumpVisitor<'tcx> {
);
}
// super-traits
// supertraits
for super_bound in trait_refs.iter() {
let (def_id, sub_span) = match *super_bound {
hir::GenericBound::Trait(ref trait_ref, _) => (