File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ const REF_ONE: usize = 1 << REF_COUNT_SHIFT;
5555/// State a task is initialized with
5656///
5757/// A task is initialized with two references: one for the scheduler and one for
58- /// the `JoinHandle`. As the task starts with a `JoinHandle`, `JOIN_INTERST ` is
58+ /// the `JoinHandle`. As the task starts with a `JoinHandle`, `JOIN_INTEREST ` is
5959/// set. A new task is immediately pushed into the run queue for execution and
6060/// starts with the `NOTIFIED` flag set.
6161const INITIAL_STATE : usize = ( REF_ONE * 2 ) | JOIN_INTEREST | NOTIFIED ;
@@ -67,7 +67,7 @@ impl State {
6767 pub ( super ) fn new ( ) -> State {
6868 // A task is initialized with three references: one for the scheduler,
6969 // one for the `JoinHandle`, one for the task handle made available in
70- // release. As the task starts with a `JoinHandle`, `JOIN_INTERST ` is
70+ // release. As the task starts with a `JoinHandle`, `JOIN_INTEREST ` is
7171 // set. A new task is immediately pushed into the run queue for
7272 // execution and starts with the `NOTIFIED` flag set.
7373 State {
You can’t perform that action at this time.
0 commit comments