From 0dc80352d0d58ee55daf606e0abac489953776ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E7=9D=BF?= <34859362+ZR233@users.noreply.github.com> Date: Mon, 16 Mar 2026 13:25:23 +0800 Subject: [PATCH 1/2] chore: code fmt (#3) * chore: code fmt * chore: update dependencies and remove unused patches --- src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 591ad02..6822892 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,11 +43,11 @@ //! } //! //! let guard = NoPreempt::new(); -//! /* The critical section starts here -//! -//! Do something that requires preemption to be disabled -//! -//! The critical section ends here */ +//! // The critical section starts here +//! // +//! // Do something that requires preemption to be disabled +//! // +//! // The critical section ends here //! drop(guard); //! ``` From 62d0b9cdf17eb588a7141820b4ccbea5b252455a Mon Sep 17 00:00:00 2001 From: aarkegz Date: Sat, 21 Mar 2026 02:34:17 +0800 Subject: [PATCH 2/2] update `crate_interface` to fix starryOS error --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c988af8..0be3376 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,4 +17,4 @@ default = [] [dependencies] cfg-if = "1.0" -crate_interface = "0.1" +crate_interface = "0.3"