summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2021-08-21 05:14:48 +0900
committerGitHub <noreply@github.com>2021-08-20 22:14:48 +0200
commitd81128109fd9107afb19b4abf789e311b1a09ab3 (patch)
treeafe9c1aba3d17daedf4f8d95721ee026c2451ca4
parent4ae57d185ea94f0217cf6234e4875cc84b4db8e8 (diff)
refactor: fix typo in web_worker.rs (#11792)
-rw-r--r--runtime/web_worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index 2594b9049..06e5d2e3b 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -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.