aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index f1fb0ae..4233f8c 100644
--- a/README.md
+++ b/README.md
@@ -101,7 +101,7 @@ struct HelloTemplate<'a> { // the name of the struct can be anything
fn main() {
let hello = HelloTemplate { name: "world" }; // instantiate your struct
- println!("{}", hello.render()); // then render it.
+ println!("{}", hello.render().unwrap()); // then render it.
}
```