mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-23 05:55:25 +00:00
fix comment on DefaultImpl
This commit is contained in:
parent
5517a1ce79
commit
fc5e8dc1b5
@ -1927,9 +1927,9 @@ pub enum ItemKind {
|
||||
///
|
||||
/// E.g. `trait Foo { .. }` or `trait Foo<T> { .. }`
|
||||
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),
|
||||
/// An implementation.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user