Fix missing '```' at end of template example code.

This commit is contained in:
Unknown 2019-04-28 10:59:33 +09:00 committed by Sergio Benitez
parent bb0af5423d
commit 99afa7d5f7
1 changed files with 1 additions and 0 deletions

View File

@ -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