Clean up askama crate per clippy's suggestions

This commit is contained in:
Dirkjan Ochtman 2017-03-08 20:03:08 +01:00
parent a20340d2e8
commit c84f081043

View File

@ -2,7 +2,7 @@
//! It lets you write templates in a Jinja-like syntax, //! It lets you write templates in a Jinja-like syntax,
//! which are linked to a `struct` defining the template context. //! which are linked to a `struct` defining the template context.
//! This is done using a custom derive implementation (implemented //! 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 //! # Example template
//! //!
@ -181,6 +181,7 @@
//! The same precedence order as Rust uses is applied. //! The same precedence order as Rust uses is applied.
//! Expressions can be grouped using parentheses. //! Expressions can be grouped using parentheses.
#![allow(unused_imports)]
#[macro_use] #[macro_use]
extern crate askama_derive; extern crate askama_derive;