Fix all spelling mistakes in history by typos tool

This commit is contained in:
Cautreoxit
2024-08-26 15:31:58 +08:00
committed by Tate, Hongliang Tian
parent b29d3b5409
commit 86f09eef75
120 changed files with 255 additions and 213 deletions

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MPL-2.0
//! This module maintains preemption-related information for the curren task
//! This module maintains preemption-related information for the current task
//! on a CPU with a single 32-bit, CPU-local integer value.
//!
//! * Bits from 0 to 30 represents an unsigned counter called `guard_count`,

View File

@ -150,7 +150,7 @@ pub(crate) fn unpark_target(runnable: Arc<Task>) {
/// Enqueues a newly built task.
///
/// Note that the new task is not guranteed to run at once.
/// Note that the new task is not guaranteed to run at once.
pub(super) fn run_new_task(runnable: Arc<Task>) {
// FIXME: remove this check for `SCHEDULER`.
// Currently OSTD cannot know whether its user has injected a scheduler.