Skip to content

Commit

Permalink
docs(maitake): fix typo in timer wheel comment (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Nov 16, 2022
1 parent 2a20199 commit 0cac3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maitake/src/time/timer/wheel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct Deadline {
/// In loom mode, the slot arrays are apparently a bit too big to pass around
/// (since loom's `UnsafeCell`s and atomics are larger than "real" ones), and we
/// apparently segfault when trying to construct a timer wheel. Therefore, it's
/// necessary to box the slot arrau when running under loom in order to reduce
/// necessary to box the slot array when running under loom in order to reduce
/// the stack size of the timer wheel.
#[cfg(loom)]
type SlotArray = alloc::boxed::Box<[List<sleep::Entry>; Wheel::SLOTS]>;
Expand Down

0 comments on commit 0cac3f4

Please sign in to comment.