summaryrefslogtreecommitdiff
path: root/crates/tor-rtmock/src/task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tor-rtmock/src/task.rs')
-rw-r--r--crates/tor-rtmock/src/task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/tor-rtmock/src/task.rs b/crates/tor-rtmock/src/task.rs
index 775b48661..adbd6a36c 100644
--- a/crates/tor-rtmock/src/task.rs
+++ b/crates/tor-rtmock/src/task.rs
@@ -194,9 +194,9 @@ enum TaskState {
struct ActualWaker {
/// Executor state
///
- /// The Waker musn't to hold a strong reference to the executor,
+ /// The Waker mustn't to hold a strong reference to the executor,
/// since typically a task holds a future that holds a Waker,
- /// and the exeuctor holds the task - so that would be a cycle.
+ /// and the executor holds the task - so that would be a cycle.
data: Weak<Mutex<Data>>,
/// Which task this is