From c3dda328056039bf6f7e6ceb7d3bddb2b4039c46 Mon Sep 17 00:00:00 2001 From: li041 Date: Mon, 2 Feb 2026 03:05:41 +0000 Subject: [PATCH] Add missing `be` to `init_component` comment --- kernel/libs/comp-sys/component-macro/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/libs/comp-sys/component-macro/src/lib.rs b/kernel/libs/comp-sys/component-macro/src/lib.rs index b6a707310..e3a6e36f4 100644 --- a/kernel/libs/comp-sys/component-macro/src/lib.rs +++ b/kernel/libs/comp-sys/component-macro/src/lib.rs @@ -15,7 +15,7 @@ use syn::parse_macro_input; pub(crate) const COMPONENT_FILE_NAME: &str = "Components.toml"; -/// Register a function to be called when the component system is initialized. The function should not public. +/// Register a function to be called when the component system is initialized. The function should not be public. /// /// You can specify the initialization stage by: /// - `#[init_component]` or `#[init_component(bootstrap)]` - the **Bootstrap** stage