We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 665d5b9 commit aba9454Copy full SHA for aba9454
tmpls/hypertext/src/lib.rs
@@ -15,7 +15,7 @@ impl tmpls::Benchmark for Benchmark {
15
output: &mut Self::Output,
16
input: &BigTable,
17
) -> Result<(), Self::Error> {
18
- *output = maud! {
+ maud! {
19
table {
20
@for row in &input.table {
21
tr {
@@ -26,13 +26,12 @@ impl tmpls::Benchmark for Benchmark {
26
}
27
28
29
- .render()
30
- .0;
+ .render_to(output);
31
Ok(())
32
33
34
fn teams(&mut self, output: &mut Self::Output, input: &Teams) -> Result<(), Self::Error> {
35
36
html {
37
head {
38
title { (input.year) }
@@ -49,8 +48,7 @@ impl tmpls::Benchmark for Benchmark {
49
48
50
51
52
53
54
55
56
0 commit comments