mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-03 07:45:14 +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,
|
//! 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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user