commit aa154be51db12163ffba7973211573d8812a15ac
parent 0666e425fe7e726995dcf5894958a69987e6054e
Author: Unknown <crome110mine@gmail.com>
Date: Sun, 28 Apr 2019 10:59:33 +0900
Fix missing '```' at end of template example code.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/contrib/lib/src/templates/mod.rs b/contrib/lib/src/templates/mod.rs
@@ -298,6 +298,7 @@ impl Template {
/// # context.insert("test", "test");
/// # #[allow(unused_variables)]
/// let template = Template::render("index", context);
+ /// ```
#[inline]
pub fn render<S, C>(name: S, context: C) -> Template
where S: Into<Cow<'static, str>>, C: Serialize