From ad6b00a2bf061a90c72737d0ecc4a58bb0a89550 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 11 Mar 2024 23:48:00 -0400 Subject: chore: enable clippy unused_async rule (#22834) --- runtime/worker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/worker.rs b/runtime/worker.rs index ab3e5fa87..b9b03a957 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -662,7 +662,7 @@ impl MainWorker { /// Create new inspector session. This function panics if Worker /// was not configured to create inspector. - pub async fn create_inspector_session(&mut self) -> LocalInspectorSession { + pub fn create_inspector_session(&mut self) -> LocalInspectorSession { self.js_runtime.maybe_init_inspector(); self.js_runtime.inspector().borrow().create_local_session() } -- cgit v1.2.3