fix comment on DefaultImpl
This commit is contained in:
parent
5517a1ce79
commit
fc5e8dc1b5
1 changed files with 2 additions and 2 deletions
|
@ -1927,9 +1927,9 @@ pub enum ItemKind {
|
||||||
///
|
///
|
||||||
/// E.g. `trait Foo { .. }` or `trait Foo<T> { .. }`
|
/// E.g. `trait Foo { .. }` or `trait Foo<T> { .. }`
|
||||||
Trait(Unsafety, Generics, TyParamBounds, Vec<TraitItem>),
|
Trait(Unsafety, Generics, TyParamBounds, Vec<TraitItem>),
|
||||||
/// Default trait implementation.
|
/// Auto trait implementation.
|
||||||
///
|
///
|
||||||
/// E.g. `default impl Trait for .. {}` or `default impl<T> Trait<T> for .. {}`
|
/// E.g. `impl Trait for .. {}` or `impl<T> Trait<T> for .. {}`
|
||||||
DefaultImpl(Unsafety, TraitRef),
|
DefaultImpl(Unsafety, TraitRef),
|
||||||
/// An implementation.
|
/// An implementation.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue