summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-09-24 22:25:45 +0200
committerGitHub <noreply@github.com>2021-09-24 22:25:45 +0200
commitd0e14ae82cf05b1d854df4da37e2152cd09664a4 (patch)
treec4d6233d94b9d85c1803dce8bcdf7cb307641cfb
parent46245b830a24930ab36f8ce2831325cdd1da17d3 (diff)
chore(runtime): minor comment improvement (#12191)
-rw-r--r--runtime/worker.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index 5cfd30dd1..a689a32f0 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -56,8 +56,7 @@ pub struct WorkerOptions {
pub user_agent: String,
pub seed: Option<u64>,
pub module_loader: Rc<dyn ModuleLoader>,
- // Callback that will be invoked when creating new instance
- // of WebWorker
+ // Callback invoked when creating new instance of WebWorker
pub create_web_worker_cb: Arc<ops::worker_host::CreateWebWorkerCb>,
pub js_error_create_fn: Option<Rc<JsErrorCreateFn>>,
pub maybe_inspector_server: Option<Arc<InspectorServer>>,