Use fancy new range syntax
This commit is contained in:
parent
e01af11eaa
commit
47e73c4bca
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue