Fix 'context!()' typo: "supports" -> "supported".

This commit is contained in:
Sergio Benitez 2021-07-02 11:44:53 -07:00
parent 6aecff39bc
commit bb920e6e09

View File

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