doc: fix example in README

This commit is contained in:
Kogia-sima 2020-12-24 15:53:35 +09:00
parent 3ee7d06024
commit 1128fda3d3
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ struct HelloTemplate {
fn main() {
let ctx = HelloTemplate {
messages: vec![String::from("foo"), String::from("bar")]
}
messages: vec![String::from("foo"), String::from("bar")],
};
println!("{}", ctx.render_once().unwrap());
}
```