Skip to content

Commit 665d5b9

Browse files
vidhanioKijewski
authored andcommitted
update some code
1 parent 1be116f commit 665d5b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tmpls/hypertext/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ impl tmpls::Benchmark for Benchmark {
2020
@for row in &input.table {
2121
tr {
2222
@for col in row {
23-
td { (*col) }
23+
td { (col) }
2424
}
2525
}
2626
}
@@ -42,7 +42,7 @@ impl tmpls::Benchmark for Benchmark {
4242
ul {
4343
@for (idx, team) in input.teams.iter().enumerate() {
4444
li.champion[idx == 0] {
45-
b { (team.name.as_str()) } ": " (team.score)
45+
b { (team.name) } ": " (team.score)
4646
}
4747
}
4848
}

0 commit comments

Comments
 (0)