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

This commit is contained in:
Unknown 2019-04-28 10:59:33 +09:00 committed by Jeb Rosen
parent 0666e425fe
commit aa154be51d
1 changed files with 1 additions and 0 deletions

View File

@ -298,6 +298,7 @@ impl Template {
/// # context.insert("test", "test"); /// # context.insert("test", "test");
/// # #[allow(unused_variables)] /// # #[allow(unused_variables)]
/// let template = Template::render("index", context); /// let template = Template::render("index", context);
/// ```
#[inline] #[inline]
pub fn render<S, C>(name: S, context: C) -> Template pub fn render<S, C>(name: S, context: C) -> Template
where S: Into<Cow<'static, str>>, C: Serialize where S: Into<Cow<'static, str>>, C: Serialize