From 32d9c4adbf58b810f73f4116bb328caae4e0743b Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 11 Jul 2026 16:52:15 +0800 Subject: docs: Update help functions note to use `writeln!` instead of `r_println!` --- docs/pages/10-help.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/pages/10-help.md') diff --git a/docs/pages/10-help.md b/docs/pages/10-help.md index 7ef1f26..c17f410 100644 --- a/docs/pages/10-help.md +++ b/docs/pages/10-help.md @@ -24,7 +24,7 @@ fn help_greet(entry: EntryGreet) -> RenderResult { ``` > [!NOTE] -> Help functions also use `r_println!`, because `#[help]` follows the rendering pipeline — it's a short-circuit render triggered early by the `--help` flag, not logic outside the pipeline. +> Help functions also use `writeln!` into a `RenderResult`, because `#[help]` follows the rendering pipeline — it's a short-circuit render triggered early by the `--help` flag, not logic outside the pipeline. ## Global Help -- cgit