mirror of https://github.com/rwf2/Rocket.git
Fix missing '```' at end of template example code.
This commit is contained in:
parent
0666e425fe
commit
aa154be51d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue