diff options
| author | Alex Burka <durka42+github@gmail.com> | 2017-10-02 05:59:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-02 05:59:56 -0400 |
| commit | 5517a1ce79757e64ffbaa9c5a6c708b5ddd0102d (patch) | |
| tree | 16b95610e63dc89eb304a45c81881657cffbefd8 | |
| parent | 2146c613d12de8dc44bc26e50af55251fc7e4f9c (diff) | |
| download | rust-5517a1ce79757e64ffbaa9c5a6c708b5ddd0102d.tar.gz rust-5517a1ce79757e64ffbaa9c5a6c708b5ddd0102d.zip | |
fix ItemKind::DefaultImpl doc comment
Upgrade comment to doc comment.
| -rw-r--r-- | src/libsyntax/ast.rs | 4 |
1 files 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<T> { .. }` Trait(Unsafety, Generics, TyParamBounds, Vec<TraitItem>), - // Default trait implementation. + /// Default trait implementation. /// - /// E.g. `impl Trait for .. {}` or `impl<T> Trait<T> for .. {}` + /// E.g. `default impl Trait for .. {}` or `default impl<T> Trait<T> for .. {}` DefaultImpl(Unsafety, TraitRef), /// An implementation. /// |
