From 2fe5cfa99862e25ece098c7379d71532c408d388 Mon Sep 17 00:00:00 2001 From: Anthony Nowell Date: Mon, 28 Aug 2017 18:17:11 -0600 Subject: Export Error type --- askama/src/lib.rs | 2 +- askama_shared/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/askama/src/lib.rs b/askama/src/lib.rs index 25dff78..a2193d6 100644 --- a/askama/src/lib.rs +++ b/askama/src/lib.rs @@ -235,7 +235,7 @@ pub trait Template { pub use shared::filters; pub use askama_derive::*; -pub use shared::Result; +pub use shared::{Error, Result}; #[cfg(feature = "with-iron")] pub mod iron { diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs index 1ee19cf..301ca13 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -10,7 +10,7 @@ extern crate serde; #[cfg(feature = "serde-json")] extern crate serde_json; -pub use errors::Result; +pub use errors::{Error, Result}; pub mod filters; pub mod path; pub use parser::parse; -- cgit