aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-03-10 09:08:32 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-03-23 19:37:10 +0100
commitc984945cd5d5b81c89510996988f31cdfdb4bd2b (patch)
treee8f46607cd737e92590beec5a89de2dd4ea5e911 /askama_derive
parenta09064977b21ef733e5eeb0b079e7f4e72165caf (diff)
downloadaskama-c984945cd5d5b81c89510996988f31cdfdb4bd2b.tar.gz
askama-c984945cd5d5b81c89510996988f31cdfdb4bd2b.tar.bz2
askama-c984945cd5d5b81c89510996988f31cdfdb4bd2b.zip
Fix clippy warning
Diffstat (limited to 'askama_derive')
-rw-r--r--askama_derive/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs
index 2409ba4..00936d0 100644
--- a/askama_derive/src/lib.rs
+++ b/askama_derive/src/lib.rs
@@ -18,7 +18,7 @@ pub fn derive_template(input: TokenStream) -> TokenStream {
let ast: syn::DeriveInput = syn::parse(input).unwrap();
match build_template(&ast) {
Ok(source) => source.parse().unwrap(),
- Err(e) => e.to_compile_error().into(),
+ Err(e) => e.into_compile_error().into(),
}
}