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

This commit is contained in:
Sergio Benitez 2021-07-02 11:44:53 -07:00
parent 6aecff39bc
commit bb920e6e09
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ impl Sentinel for Template {
/// #[get("/<foo>")]
/// fn render_index(foo: u64) -> Template {
/// Template::render("index", context! {
/// // Note that shorthand field syntax is supports.
/// // Note that shorthand field syntax is supported.
/// // This is equivalent to `foo: foo,`
/// foo,
/// bar: "Hello world",