summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAlex Burka <durka42+github@gmail.com>2017-10-02 07:30:09 -0400
committerGitHub <noreply@github.com>2017-10-02 07:30:09 -0400
commitfc5e8dc1b5dd6a81d92e6981d7689f81b108c5c3 (patch)
treee9adbf99bf84068dba2a93d3b76f2d6f7c817d79 /src/libsyntax
parent5517a1ce79757e64ffbaa9c5a6c708b5ddd0102d (diff)
downloadrust-fc5e8dc1b5dd6a81d92e6981d7689f81b108c5c3.tar.gz
rust-fc5e8dc1b5dd6a81d92e6981d7689f81b108c5c3.zip
fix comment on DefaultImpl
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ast.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index 4bf37302c8d..86571f921f0 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.
+    /// 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.
     ///