From 5517a1ce79757e64ffbaa9c5a6c708b5ddd0102d Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Mon, 2 Oct 2017 05:59:56 -0400 Subject: [PATCH] fix ItemKind::DefaultImpl doc comment Upgrade comment to doc comment. --- src/libsyntax/ast.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 0504e889ea1..4bf37302c8d 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1927,9 +1927,9 @@ pub enum ItemKind { /// /// E.g. `trait Foo { .. }` or `trait Foo { .. }` Trait(Unsafety, Generics, TyParamBounds, Vec), - // Default trait implementation. + /// Default trait implementation. /// - /// E.g. `impl Trait for .. {}` or `impl Trait for .. {}` + /// E.g. `default impl Trait for .. {}` or `default impl Trait for .. {}` DefaultImpl(Unsafety, TraitRef), /// An implementation. ///