Skip to content

Commit a1935de

Browse files
committed
cargo fmt for compare crate
1 parent b54bad8 commit a1935de

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

compare/benches/bench.rs

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ fn low_level_comparison(c: &mut Criterion) {
2525
}
2626
buf.clear();
2727
}
28-
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
28+
assert_eq!(
29+
count, 1550,
30+
"Overall tag count in ./tests/documents/sample_rss.xml"
31+
);
2932
})
3033
});
3134

@@ -49,7 +52,10 @@ fn low_level_comparison(c: &mut Criterion) {
4952
}
5053
input = &input[consumed..];
5154
}
52-
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
55+
assert_eq!(
56+
count, 1550,
57+
"Overall tag count in ./tests/documents/sample_rss.xml"
58+
);
5359
})
5460
});
5561

@@ -68,7 +74,10 @@ fn low_level_comparison(c: &mut Criterion) {
6874
_ => (),
6975
}
7076
}
71-
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
77+
assert_eq!(
78+
count, 1550,
79+
"Overall tag count in ./tests/documents/sample_rss.xml"
80+
);
7281
})
7382
});
7483

@@ -83,7 +92,10 @@ fn low_level_comparison(c: &mut Criterion) {
8392
_ => (),
8493
}
8594
}
86-
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
95+
assert_eq!(
96+
count, 1550,
97+
"Overall tag count in ./tests/documents/sample_rss.xml"
98+
);
8799
})
88100
});
89101

@@ -101,7 +113,10 @@ fn low_level_comparison(c: &mut Criterion) {
101113
_ => (),
102114
}
103115
}
104-
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
116+
assert_eq!(
117+
count, 1550,
118+
"Overall tag count in ./tests/documents/sample_rss.xml"
119+
);
105120
})
106121
});
107122

@@ -166,7 +181,10 @@ fn low_level_comparison(c: &mut Criterion) {
166181
count += 1;
167182
}
168183
}
169-
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
184+
assert_eq!(
185+
count, 1550,
186+
"Overall tag count in ./tests/documents/sample_rss.xml"
187+
);
170188
})
171189
});
172190
group.finish();

0 commit comments

Comments
 (0)