style: optimized ch13-02-iterators sample code
@@ -335,7 +335,8 @@ fn calling_next_directly() {
#
#[test]
fn using_other_iterator_trait_methods() {
- let sum: u32 = Counter::new().zip(Counter::new().skip(1))
+ let sum: u32 = Counter::new()
+ .zip(Counter::new().skip(1))
.map(|(a, b)| a * b)
.filter(|x| x % 3 == 0)
.sum();
