1
Fork 0

Rollup merge of #82096 - TaKO8Ki:fix-typo, r=GuillaumeGomez

Fix a typo

This pull request fixes a typo.
This commit is contained in:
Jonas Schievink 2021-02-15 16:07:01 +01:00 committed by GitHub
commit db5ae6a626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1269,7 +1269,7 @@ impl Clean<Item> for ty::AssocItem {
AssocTypeItem(bounds, ty.clean(cx)) AssocTypeItem(bounds, ty.clean(cx))
} else { } else {
// FIXME: when could this happen? ASsociated items in inherent impls? // FIXME: when could this happen? Associated items in inherent impls?
let type_ = cx.tcx.type_of(self.def_id).clean(cx); let type_ = cx.tcx.type_of(self.def_id).clean(cx);
TypedefItem( TypedefItem(
Typedef { Typedef {