fix ItemKind::DefaultImpl doc comment

Upgrade comment to doc comment.
This commit is contained in:
Alex Burka 2017-10-02 05:59:56 -04:00 committed by GitHub
parent 2146c613d1
commit 5517a1ce79

View File

@ -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.
/// ///