Skip to content

Commit

Permalink
style: Run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Page committed Oct 18, 2019
1 parent 221be29 commit 028b0df
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/assert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,9 @@ impl predicates_core::reflection::PredicateReflection for EqCodePredicate {
}

/// Nested `Predicate`s of the current `Predicate`.
fn children<'a>(&'a self) -> Box<dyn Iterator<Item = predicates_core::reflection::Child<'a>> + 'a> {
fn children<'a>(
&'a self,
) -> Box<dyn Iterator<Item = predicates_core::reflection::Child<'a>> + 'a> {
self.0.children()
}
}
Expand Down Expand Up @@ -625,7 +627,9 @@ impl predicates_core::reflection::PredicateReflection for InCodePredicate {
}

/// Nested `Predicate`s of the current `Predicate`.
fn children<'a>(&'a self) -> Box<dyn Iterator<Item = predicates_core::reflection::Child<'a>> + 'a> {
fn children<'a>(
&'a self,
) -> Box<dyn Iterator<Item = predicates_core::reflection::Child<'a>> + 'a> {
self.0.children()
}
}
Expand Down Expand Up @@ -759,7 +763,9 @@ impl predicates_core::reflection::PredicateReflection for BytesContentOutputPred
}

/// Nested `Predicate`s of the current `Predicate`.
fn children<'a>(&'a self) -> Box<dyn Iterator<Item = predicates_core::reflection::Child<'a>> + 'a> {
fn children<'a>(
&'a self,
) -> Box<dyn Iterator<Item = predicates_core::reflection::Child<'a>> + 'a> {
self.0.children()
}
}
Expand Down Expand Up @@ -838,7 +844,9 @@ impl predicates_core::reflection::PredicateReflection for StrContentOutputPredic
}

/// Nested `Predicate`s of the current `Predicate`.
fn children<'a>(&'a self) -> Box<dyn Iterator<Item = predicates_core::reflection::Child<'a>> + 'a> {
fn children<'a>(
&'a self,
) -> Box<dyn Iterator<Item = predicates_core::reflection::Child<'a>> + 'a> {
self.0.children()
}
}
Expand Down Expand Up @@ -929,7 +937,9 @@ where
}

/// Nested `Predicate`s of the current `Predicate`.
fn children<'a>(&'a self) -> Box<dyn Iterator<Item = predicates_core::reflection::Child<'a>> + 'a> {
fn children<'a>(
&'a self,
) -> Box<dyn Iterator<Item = predicates_core::reflection::Child<'a>> + 'a> {
self.0.children()
}
}
Expand Down

0 comments on commit 028b0df

Please sign in to comment.