From de713e42c8807e3124c9b5d418a69d2ea3460058 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 16 Aug 2019 20:49:00 -0400 Subject: Upgrade to rust 1.37.0 (#2786) --- core/isolate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/isolate.rs b/core/isolate.rs index 5d6088ca5..fe6e613c2 100644 --- a/core/isolate.rs +++ b/core/isolate.rs @@ -91,7 +91,7 @@ pub trait ImportStream: Stream { type DynImportStream = Box + Send>; -type DynImportFn = Fn(deno_dyn_import_id, &str, &str) -> DynImportStream; +type DynImportFn = dyn Fn(deno_dyn_import_id, &str, &str) -> DynImportStream; /// Wraps DynImportStream to include the deno_dyn_import_id, so that it doesn't /// need to be exposed. -- cgit v1.2.3