chore(runtime): minor comment improvement (#12191)

This commit is contained in:
Aaron O'Mullan 2021-09-24 22:25:45 +02:00 committed by GitHub
parent 46245b830a
commit d0e14ae82c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>>,