@@ -299,8 +299,8 @@ impl DeriveWhere {
299299 }
300300}
301301
302- /// Holds the first part of a [`PredicateType`] prior to the `:`. Optionally contains lifetime `for`
303- /// bindings.
302+ /// Holds the first part of a [`PredicateType`] prior to the `:`. Optionally
303+ /// contains lifetime `for` bindings.
304304#[ derive( Eq , PartialEq ) ]
305305pub struct GenericNoBound {
306306 /// Any `for<'a, 'b, 'etc>` bindings for the type.
@@ -318,12 +318,14 @@ impl Parse for GenericNoBound {
318318 }
319319}
320320
321- /// Holds a single generic [type](GenericNoBound) with optional lifetime bounds or [type with bound](PredicateType).
321+ /// Holds a single generic [type](GenericNoBound) with optional lifetime bounds
322+ /// or [type with bound](PredicateType).
322323#[ derive( Eq , PartialEq ) ]
323324pub enum Generic {
324325 /// Generic type with custom [specified bounds](PredicateType).
325326 CustomBound ( PredicateType ) ,
326- /// Generic [type](GenericNoBound) which will be bound to the [`DeriveTrait`].
327+ /// Generic [type](GenericNoBound) which will be bound to the
328+ /// [`DeriveTrait`].
327329 NoBound ( GenericNoBound ) ,
328330}
329331
@@ -332,8 +334,8 @@ impl Parse for Generic {
332334 let fork = input. fork ( ) ;
333335
334336 // Try to parse input as a `WherePredicate`. The problem is, both expressions
335- // start with an optional lifetime for bound and then Type, so starting with the `WherePredicate` is the easiest way
336- // of differentiating them.
337+ // start with an optional lifetime for bound and then Type, so starting with the
338+ // `WherePredicate` is the easiest way of differentiating them.
337339 if let Ok ( where_predicate) = WherePredicate :: parse ( & fork) {
338340 input. advance_to ( & fork) ;
339341
0 commit comments