Skip to content

Commit fc5e8dc

Browse files
authored
fix comment on DefaultImpl
1 parent 5517a1c commit fc5e8dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/ast.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1927,9 +1927,9 @@ pub enum ItemKind {
19271927
///
19281928
/// E.g. `trait Foo { .. }` or `trait Foo<T> { .. }`
19291929
Trait(Unsafety, Generics, TyParamBounds, Vec<TraitItem>),
1930-
/// Default trait implementation.
1930+
/// Auto trait implementation.
19311931
///
1932-
/// E.g. `default impl Trait for .. {}` or `default impl<T> Trait<T> for .. {}`
1932+
/// E.g. `impl Trait for .. {}` or `impl<T> Trait<T> for .. {}`
19331933
DefaultImpl(Unsafety, TraitRef),
19341934
/// An implementation.
19351935
///

0 commit comments

Comments
 (0)