summaryrefslogtreecommitdiff
path: root/runtime/worker.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-03-11 23:48:00 -0400
committerGitHub <noreply@github.com>2024-03-11 23:48:00 -0400
commitad6b00a2bf061a90c72737d0ecc4a58bb0a89550 (patch)
treedaf342fa1d0dcde202a116ac010f310ba4321fa9 /runtime/worker.rs
parentc38c14f51f2edc8d25f349de52fc1268b97b59b2 (diff)
chore: enable clippy unused_async rule (#22834)
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs2
1 files changed, 1 insertions, 1 deletions
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()
}