From 3bb15ceaeaf5cd349afcb2e2d43374efd420aaef Mon Sep 17 00:00:00 2001 From: Axetroy Date: Mon, 23 Dec 2019 22:59:44 +0800 Subject: Upgrades rust to 1.40.0 (#3542) --- deno_typescript/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deno_typescript/lib.rs') diff --git a/deno_typescript/lib.rs b/deno_typescript/lib.rs index c410c870f..3d27149c5 100644 --- a/deno_typescript/lib.rs +++ b/deno_typescript/lib.rs @@ -115,7 +115,7 @@ impl TSIsolate { let source = &format!("main({:?}, {})", config_json.to_string(), root_names_json); self.isolate.execute("", source)?; - Ok(self.state.clone()) + Ok(self.state) } } -- cgit v1.2.3