浏览代码

fix a typo

OccupyMars2025 1 年之前
父节点
当前提交
937824f64a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -21,7 +21,7 @@
 //! implementation suitable for single-hart targets, based on disabling interrupts globally.
 //! implementation suitable for single-hart targets, based on disabling interrupts globally.
 //!
 //!
 //! It is **unsound** to enable it on multi-hart targets,
 //! It is **unsound** to enable it on multi-hart targets,
-//! and may cause functional problems in systems where some interrupts must be not be disabled
+//! and may cause functional problems in systems where some interrupts must NOT be disabled
 //! or critical sections are managed as part of an RTOS. In these cases, you should use
 //! or critical sections are managed as part of an RTOS. In these cases, you should use
 //! a target-specific implementation instead, typically provided by a HAL or RTOS crate.
 //! a target-specific implementation instead, typically provided by a HAL or RTOS crate.