mirror of
https://github.com/rwf2/Rocket.git
synced 2025-02-17 14:12:07 +00:00
Fix 'context!()' typo: "supports" -> "supported".
This commit is contained in:
parent
6aecff39bc
commit
bb920e6e09
@ -467,7 +467,7 @@ impl Sentinel for Template {
|
|||||||
/// #[get("/<foo>")]
|
/// #[get("/<foo>")]
|
||||||
/// fn render_index(foo: u64) -> Template {
|
/// fn render_index(foo: u64) -> Template {
|
||||||
/// Template::render("index", context! {
|
/// Template::render("index", context! {
|
||||||
/// // Note that shorthand field syntax is supports.
|
/// // Note that shorthand field syntax is supported.
|
||||||
/// // This is equivalent to `foo: foo,`
|
/// // This is equivalent to `foo: foo,`
|
||||||
/// foo,
|
/// foo,
|
||||||
/// bar: "Hello world",
|
/// bar: "Hello world",
|
||||||
|
Loading…
Reference in New Issue
Block a user