From 3c9bb1e79943685cdcd10b51dc777736be6aec94 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 17 Sep 2018 17:43:24 -0700 Subject: [PATCH] Isolate::execute doesn't need mutability. --- src/isolate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isolate.rs b/src/isolate.rs index 71a633abd3..b4cb138ffa 100644 --- a/src/isolate.rs +++ b/src/isolate.rs @@ -52,7 +52,7 @@ impl Isolate { } pub fn execute( - &mut self, + &self, js_filename: &str, js_source: &str, ) -> Result<(), DenoException> {