aboutsummaryrefslogtreecommitdiffstats
path: root/testing/benches/all.rs
diff options
context:
space:
mode:
Diffstat (limited to 'testing/benches/all.rs')
-rw-r--r--testing/benches/all.rs20
1 files changed, 16 insertions, 4 deletions
diff --git a/testing/benches/all.rs b/testing/benches/all.rs
index 862bd06..a52374c 100644
--- a/testing/benches/all.rs
+++ b/testing/benches/all.rs
@@ -37,10 +37,22 @@ fn teams(b: &mut criterion::Bencher) {
let teams = Teams {
year: 2015,
teams: vec![
- Team { name: "Jiangsu".into(), score: 43 },
- Team { name: "Beijing".into(), score: 27 },
- Team { name: "Guangzhou".into(), score: 22 },
- Team { name: "Shandong".into(), score: 12 },
+ Team {
+ name: "Jiangsu".into(),
+ score: 43,
+ },
+ Team {
+ name: "Beijing".into(),
+ score: 27,
+ },
+ Team {
+ name: "Guangzhou".into(),
+ score: 22,
+ },
+ Team {
+ name: "Shandong".into(),
+ score: 12,
+ },
],
};
b.iter(|| teams.render().unwrap());