提交 fc5e8dc1 编写于 作者: A Alex Burka 提交者: GitHub

fix comment on DefaultImpl

上级 5517a1ce
......@@ -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.
///
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册