Skip to content

Commit b380254

Browse files
authored
Rollup merge of rust-lang#44972 - durka:patch-44, r=arielb1
fix ItemKind::DefaultImpl doc comment Upgrade comment to doc comment. ...Is this actually used? If so, why does the `Impl` variant right below have a `Defaultness`?
2 parents 3a037f1 + fc5e8dc commit b380254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ 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
///
19321932
/// E.g. `impl Trait for .. {}` or `impl<T> Trait<T> for .. {}`
19331933
DefaultImpl(Unsafety, TraitRef),

0 commit comments

Comments
 (0)