aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-07-02 09:28:02 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-07-02 09:28:02 +0200
commitec2e873d73a3f820fe301b682cb100d07f44994b (patch)
tree6472161d30e0f06e8db386ca46988ea884ac1641 /testing
parent3fdf1c7a37a391b757cc4bf8554f1cbc0c1f609a (diff)
downloadaskama-ec2e873d73a3f820fe301b682cb100d07f44994b.tar.gz
askama-ec2e873d73a3f820fe301b682cb100d07f44994b.tar.bz2
askama-ec2e873d73a3f820fe301b682cb100d07f44994b.zip
Fix formatting with cargo fmt
Diffstat (limited to '')
-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());