mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-01 06:51:15 +00:00
Clean up askama crate per clippy's suggestions
This commit is contained in:
parent
a20340d2e8
commit
c84f081043
@ -2,7 +2,7 @@
|
||||
//! It lets you write templates in a Jinja-like syntax,
|
||||
//! which are linked to a `struct` defining the template context.
|
||||
//! This is done using a custom derive implementation (implemented
|
||||
//! in [askama_derive](https://crates.io/crates/askama_derive)).
|
||||
//! in [`askama_derive`](https://crates.io/crates/askama_derive)).
|
||||
//!
|
||||
//! # Example template
|
||||
//!
|
||||
@ -181,6 +181,7 @@
|
||||
//! The same precedence order as Rust uses is applied.
|
||||
//! Expressions can be grouped using parentheses.
|
||||
|
||||
#![allow(unused_imports)]
|
||||
#[macro_use]
|
||||
extern crate askama_derive;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user