summaryrefslogtreecommitdiff
path: root/core/isolate.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-08-16 20:49:00 -0400
committerGitHub <noreply@github.com>2019-08-16 20:49:00 -0400
commitde713e42c8807e3124c9b5d418a69d2ea3460058 (patch)
tree7b007e38e6e69de2db16d54322ae42d0423a782b /core/isolate.rs
parent1978358328e869a0e27c91dff848753437989382 (diff)
Upgrade to rust 1.37.0 (#2786)
Diffstat (limited to 'core/isolate.rs')
-rw-r--r--core/isolate.rs2
1 files changed, 1 insertions, 1 deletions
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<dyn ImportStream<Item = RecursiveLoadEvent, Error = ErrBox> + 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.