From f47f3f96726a94dd2df5d68e3c786b5079089dd4 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 25 Feb 2020 14:42:00 -0500 Subject: Remove _async from method names since _sync are gone (#4128) --- cli/compilers/wasm.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/compilers/wasm.rs') diff --git a/cli/compilers/wasm.rs b/cli/compilers/wasm.rs index bc056d4f9..bcdc8a51c 100644 --- a/cli/compilers/wasm.rs +++ b/cli/compilers/wasm.rs @@ -71,7 +71,7 @@ impl WasmCompiler { worker } - pub async fn compile_async( + pub async fn compile( &self, global_state: GlobalState, source_file: &SourceFile, @@ -84,7 +84,7 @@ impl WasmCompiler { if let Some(m) = maybe_cached { return Ok(m); } - debug!(">>>>> wasm_compile_async START"); + debug!(">>>>> wasm_compile START"); let base64_data = base64::encode(&source_file.source_code); let url = source_file.url.clone(); let req_msg = serde_json::to_string(&base64_data) @@ -108,7 +108,7 @@ impl WasmCompiler { { cache_.lock().unwrap().insert(url.clone(), module.clone()); } - debug!("<<<<< wasm_compile_async END"); + debug!("<<<<< wasm_compile END"); Ok(module) } } -- cgit v1.2.3