diff --git a/cli/specifier_handler.rs b/cli/specifier_handler.rs index 9f1162fee7148..112fac9005f65 100644 --- a/cli/specifier_handler.rs +++ b/cli/specifier_handler.rs @@ -24,13 +24,8 @@ use std::pin::Pin; use std::sync::Arc; pub type DependencyMap = HashMap; -pub type FetchFuture = Pin< - Box< - (dyn Future> - + 'static - + Send), - >, ->; +type FetchFutureOutput = Result; +pub type FetchFuture = Pin + Send>>; /// A group of errors that represent errors that can occur with an /// an implementation of `SpecifierHandler`.