fix ItemKind::DefaultImpl doc comment
Upgrade comment to doc comment.
This commit is contained in:
parent
2146c613d1
commit
5517a1ce79
@ -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.
|
/// Default trait implementation.
|
||||||
///
|
///
|
||||||
/// E.g. `impl Trait for .. {}` or `impl<T> Trait<T> for .. {}`
|
/// E.g. `default impl Trait for .. {}` or `default impl<T> Trait<T> for .. {}`
|
||||||
DefaultImpl(Unsafety, TraitRef),
|
DefaultImpl(Unsafety, TraitRef),
|
||||||
/// An implementation.
|
/// An implementation.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user