diff options
Diffstat (limited to '')
-rw-r--r-- | askama_shared/src/filters/mod.rs | 2 | ||||
-rw-r--r-- | askama_shared/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/askama_shared/src/filters/mod.rs b/askama_shared/src/filters/mod.rs index cf94092..0be9f95 100644 --- a/askama_shared/src/filters/mod.rs +++ b/askama_shared/src/filters/mod.rs @@ -10,8 +10,8 @@ mod json; #[cfg(feature = "serde_json")] pub use self::json::json; +use crate::error::Error::Fmt; use askama_escape::MarkupDisplay; -use error::Error::Fmt; use humansize::{file_size_opts, FileSize}; use num_traits::cast::NumCast; use num_traits::Signed; diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs index 07967f4..adb41b5 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -16,8 +16,8 @@ use std::path::{Path, PathBuf}; mod error; +pub use crate::error::{Error, Result}; pub use askama_escape::MarkupDisplay; -pub use error::{Error, Result}; use std::collections::BTreeMap; |