/// Self : Sized declared on the trait
SizedSelf,
- /// Method has someting illegal
+ /// Method has something illegal
Method(Rc<ty::Method<'tcx>>, MethodViolationCode),
}
ty::ty_projection(ref data) => {
// This is a projected type `<Foo as SomeTrait>::X`.
- // Compute supertraits of current trait lazilly.
+ // Compute supertraits of current trait lazily.
if supertraits.is_none() {
let trait_def = ty::lookup_trait_def(tcx, trait_def_id);
let trait_ref = ty::Binder(trait_def.trait_ref.clone());