diff options
| author | bors <bors@rust-lang.org> | 2016-01-02 13:58:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-02 13:58:57 +0000 |
| commit | 44f020883eee01e3b4112bfac65b09a13e470c5c (patch) | |
| tree | 33a5be08c7399a15e3e1e93fcd6712710193c814 /src/libsyntax | |
| parent | d4b67cd7cce8e29b22082bc9bc3a667ba3b2e036 (diff) | |
| parent | 877d55c1e09a58f7999dcc4b650ad0a42c9b312e (diff) | |
| download | rust-44f020883eee01e3b4112bfac65b09a13e470c5c.tar.gz rust-44f020883eee01e3b4112bfac65b09a13e470c5c.zip | |
Auto merge of #30675 - jimmantooth:master, r=apasel422
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 9617ae6bae5..e327adfaf89 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -334,7 +334,7 @@ pub struct AngleBracketedParameterData { /// The type parameters for this path segment, if present. pub types: P<[P<Ty>]>, /// Bindings (equality constraints) on associated types, if present. - /// E.g., `Foo<A=Bar>`. + /// e.g., `Foo<A=Bar>`. pub bindings: P<[P<TypeBinding>]>, } @@ -447,7 +447,7 @@ pub struct WhereClause { /// A single predicate in a `where` clause #[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)] pub enum WherePredicate { - /// A type binding, eg `for<'c> Foo: Send+Clone+'c` + /// A type binding, e.g. `for<'c> Foo: Send+Clone+'c` BoundPredicate(WhereBoundPredicate), /// A lifetime predicate, e.g. `'a: 'b+'c` RegionPredicate(WhereRegionPredicate), @@ -455,7 +455,7 @@ pub enum WherePredicate { EqPredicate(WhereEqPredicate), } -/// A type bound, eg `for<'c> Foo: Send+Clone+'c` +/// A type bound, e.g. `for<'c> Foo: Send+Clone+'c` #[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)] pub struct WhereBoundPredicate { pub span: Span, @@ -1095,7 +1095,7 @@ impl Delimited { } } -/// A sequence of token treesee +/// A sequence of token trees #[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)] pub struct SequenceRepetition { /// The sequence of token trees @@ -1346,7 +1346,7 @@ pub struct MethodSig { } /// Represents a method declaration in a trait declaration, possibly including -/// a default implementation A trait method is either required (meaning it +/// a default implementation. A trait method is either required (meaning it /// doesn't have an implementation, just a signature) or provided (meaning it /// has a default implementation). #[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)] |
