1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-12 00:54:02 -05:00

Isolate::execute doesn't need mutability.

This commit is contained in:
Ryan Dahl 2018-09-17 17:43:24 -07:00
parent 6143a64256
commit 3c9bb1e799

View file

@ -52,7 +52,7 @@ impl Isolate {
} }
pub fn execute( pub fn execute(
&mut self, &self,
js_filename: &str, js_filename: &str,
js_source: &str, js_source: &str,
) -> Result<(), DenoException> { ) -> Result<(), DenoException> {