mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
refactor: fix typo in web_worker.rs (#11792)
This commit is contained in:
parent
4ae57d185e
commit
d81128109f
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ impl From<SendableWebWorkerHandle> for WebWorkerHandle {
|
|||
/// This is the handle to the web worker that the parent thread uses to
|
||||
/// communicate with the worker. It is created from a `SendableWebWorkerHandle`
|
||||
/// which is sent to the parent thread from the worker thread where it is
|
||||
/// created. The reason for this seperation is that the handle first needs to be
|
||||
/// created. The reason for this separation is that the handle first needs to be
|
||||
/// `Send` when transferring between threads, and then must be `Clone` when it
|
||||
/// has arrived on the parent thread. It can not be both at once without large
|
||||
/// amounts of Arc<Mutex> and other fun stuff.
|
||||
|
|
Loading…
Reference in a new issue