diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-11 16:52:15 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-11 16:52:15 +0800 |
| commit | 32d9c4adbf58b810f73f4116bb328caae4e0743b (patch) | |
| tree | e40115a55655e0f300dc769708c34efcfc2adf41 /docs/pages/10-help.md | |
| parent | 57fb6c2ebb53f9977945528940d412561cc033db (diff) | |
docs: Update help functions note to use `writeln!` instead of
`r_println!`
Diffstat (limited to 'docs/pages/10-help.md')
| -rw-r--r-- | docs/pages/10-help.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
