diff options
Diffstat (limited to 'cli/specifier_handler.rs')
-rw-r--r-- | cli/specifier_handler.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cli/specifier_handler.rs b/cli/specifier_handler.rs index 9f1162fee..112fac900 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<String, Dependency>; -pub type FetchFuture = Pin< - Box< - (dyn Future<Output = Result<CachedModule, (ModuleSpecifier, AnyError)>> - + 'static - + Send), - >, ->; +type FetchFutureOutput = Result<CachedModule, (ModuleSpecifier, AnyError)>; +pub type FetchFuture = Pin<Box<dyn Future<Output = FetchFutureOutput> + Send>>; /// A group of errors that represent errors that can occur with an /// an implementation of `SpecifierHandler`. |