We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d73555 commit 1865ce0Copy full SHA for 1865ce0
examples/02_04_executor/src/lib.rs
@@ -37,7 +37,7 @@ struct Task {
37
/// The `Mutex` is not necessary for correctness, since we only have
38
/// one thread executing tasks at once. However, Rust isn't smart
39
/// enough to know that `future` is only mutated from one thread,
40
- /// so we need use the `Mutex` to prove thread-safety. A production
+ /// so we need to use the `Mutex` to prove thread-safety. A production
41
/// executor would not need this, and could use `UnsafeCell` instead.
42
future: Mutex<Option<BoxFuture<'static, ()>>>,
43
0 commit comments