@@ -334,7 +334,7 @@ pub struct AngleBracketedParameterData {
334334 /// The type parameters for this path segment, if present.
335335 pub types : P < [ P < Ty > ] > ,
336336 /// Bindings (equality constraints) on associated types, if present.
337- /// E .g., `Foo<A=Bar>`.
337+ /// e .g., `Foo<A=Bar>`.
338338 pub bindings : P < [ P < TypeBinding > ] > ,
339339}
340340
@@ -447,15 +447,15 @@ pub struct WhereClause {
447447/// A single predicate in a `where` clause
448448#[ derive( Clone , PartialEq , Eq , RustcEncodable , RustcDecodable , Hash , Debug ) ]
449449pub enum WherePredicate {
450- /// A type binding, eg `for<'c> Foo: Send+Clone+'c`
450+ /// A type binding, e.g. `for<'c> Foo: Send+Clone+'c`
451451 BoundPredicate ( WhereBoundPredicate ) ,
452452 /// A lifetime predicate, e.g. `'a: 'b+'c`
453453 RegionPredicate ( WhereRegionPredicate ) ,
454454 /// An equality predicate (unsupported)
455455 EqPredicate ( WhereEqPredicate ) ,
456456}
457457
458- /// A type bound, eg `for<'c> Foo: Send+Clone+'c`
458+ /// A type bound, e.g. `for<'c> Foo: Send+Clone+'c`
459459#[ derive( Clone , PartialEq , Eq , RustcEncodable , RustcDecodable , Hash , Debug ) ]
460460pub struct WhereBoundPredicate {
461461 pub span : Span ,
@@ -1095,7 +1095,7 @@ impl Delimited {
10951095 }
10961096}
10971097
1098- /// A sequence of token treesee
1098+ /// A sequence of token trees
10991099#[ derive( Clone , PartialEq , Eq , RustcEncodable , RustcDecodable , Hash , Debug ) ]
11001100pub struct SequenceRepetition {
11011101 /// The sequence of token trees
@@ -1346,7 +1346,7 @@ pub struct MethodSig {
13461346}
13471347
13481348/// Represents a method declaration in a trait declaration, possibly including
1349- /// a default implementation A trait method is either required (meaning it
1349+ /// a default implementation. A trait method is either required (meaning it
13501350/// doesn't have an implementation, just a signature) or provided (meaning it
13511351/// has a default implementation).
13521352#[ derive( Clone , PartialEq , Eq , RustcEncodable , RustcDecodable , Hash , Debug ) ]
0 commit comments