@@ -334,7 +334,7 @@ pub struct AngleBracketedParameterData {
334
334
/// The type parameters for this path segment, if present.
335
335
pub types : P < [ P < Ty > ] > ,
336
336
/// Bindings (equality constraints) on associated types, if present.
337
- /// E .g., `Foo<A=Bar>`.
337
+ /// e .g., `Foo<A=Bar>`.
338
338
pub bindings : P < [ P < TypeBinding > ] > ,
339
339
}
340
340
@@ -447,15 +447,15 @@ pub struct WhereClause {
447
447
/// A single predicate in a `where` clause
448
448
#[ derive( Clone , PartialEq , Eq , RustcEncodable , RustcDecodable , Hash , Debug ) ]
449
449
pub 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`
451
451
BoundPredicate ( WhereBoundPredicate ) ,
452
452
/// A lifetime predicate, e.g. `'a: 'b+'c`
453
453
RegionPredicate ( WhereRegionPredicate ) ,
454
454
/// An equality predicate (unsupported)
455
455
EqPredicate ( WhereEqPredicate ) ,
456
456
}
457
457
458
- /// A type bound, eg `for<'c> Foo: Send+Clone+'c`
458
+ /// A type bound, e.g. `for<'c> Foo: Send+Clone+'c`
459
459
#[ derive( Clone , PartialEq , Eq , RustcEncodable , RustcDecodable , Hash , Debug ) ]
460
460
pub struct WhereBoundPredicate {
461
461
pub span : Span ,
@@ -1095,7 +1095,7 @@ impl Delimited {
1095
1095
}
1096
1096
}
1097
1097
1098
- /// A sequence of token treesee
1098
+ /// A sequence of token trees
1099
1099
#[ derive( Clone , PartialEq , Eq , RustcEncodable , RustcDecodable , Hash , Debug ) ]
1100
1100
pub struct SequenceRepetition {
1101
1101
/// The sequence of token trees
@@ -1346,7 +1346,7 @@ pub struct MethodSig {
1346
1346
}
1347
1347
1348
1348
/// 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
1350
1350
/// doesn't have an implementation, just a signature) or provided (meaning it
1351
1351
/// has a default implementation).
1352
1352
#[ derive( Clone , PartialEq , Eq , RustcEncodable , RustcDecodable , Hash , Debug ) ]
0 commit comments