summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>>,