diff --git a/src/api_schema/router.rs b/src/api_schema/router.rs index 4e3df200..bb44a2a3 100644 --- a/src/api_schema/router.rs +++ b/src/api_schema/router.rs @@ -12,7 +12,7 @@ use hyper::http::request::Parts; use super::api_handler::*; -pub type BoxFut = Box, Error = failure::Error> + Send>; +pub type BoxFut = Box, failure::Error>> + Send>; /// Abstract Interface for API methods to interact with the environment pub trait RpcEnvironment: std::any::Any + crate::tools::AsAny + Send {