From 8d0e4123360b7abeb5182d880e1f57c76b241396 Mon Sep 17 00:00:00 2001 From: Chris Wong <lambda.fairy@gmail.com> Date: Thu, 24 Nov 2016 20:45:08 +1300 Subject: [PATCH] Use toggled class shorthand in benchmark --- benchmarks/benches/maud.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/benches/maud.rs b/benchmarks/benches/maud.rs index 46cfdb5..6229f46 100644 --- a/benchmarks/benches/maud.rs +++ b/benchmarks/benches/maud.rs @@ -29,7 +29,7 @@ fn render_template(b: &mut test::Bencher) { h1 { "CSL " (year) } ul { @for (i, team) in teams.iter().enumerate() { - li class=@if i == 0 { "champion" } { + li.champion[i == 0] { b (team.name) ": " (team.score) } }