diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-03-10 09:08:32 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-03-23 19:37:10 +0100 |
commit | c984945cd5d5b81c89510996988f31cdfdb4bd2b (patch) | |
tree | e8f46607cd737e92590beec5a89de2dd4ea5e911 /askama_shared/src | |
parent | a09064977b21ef733e5eeb0b079e7f4e72165caf (diff) | |
download | askama-c984945cd5d5b81c89510996988f31cdfdb4bd2b.tar.gz askama-c984945cd5d5b81c89510996988f31cdfdb4bd2b.tar.bz2 askama-c984945cd5d5b81c89510996988f31cdfdb4bd2b.zip |
Fix clippy warning
Diffstat (limited to '')
-rw-r--r-- | askama_shared/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs index 994662c..f8d5729 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -307,7 +307,7 @@ impl CompileError { } } - pub fn to_compile_error(self) -> TokenStream { + pub fn into_compile_error(self) -> TokenStream { syn::Error::new(self.span, self.msg).to_compile_error() } } |