Use fancy new range syntax

This commit is contained in:
Chris Wong 2015-02-06 14:50:47 +13:00
parent e01af11eaa
commit 47e73c4bca

View file

@ -98,7 +98,7 @@ mod splices {
let s = html! {
${
let mut result = 1i32;
for i in range(2, 11) {
for i in 2..11 {
result *= i;
}
result