diff options
Diffstat (limited to 'docs/_zh_CN')
| -rw-r--r-- | docs/_zh_CN/pages/other/features.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/_zh_CN/pages/other/features.md b/docs/_zh_CN/pages/other/features.md index 8b19b31..bfd9efc 100644 --- a/docs/_zh_CN/pages/other/features.md +++ b/docs/_zh_CN/pages/other/features.md @@ -39,13 +39,12 @@ async fn handle_state_foo(foo: StateFoo) -> Next { 1. `comp` 特性下的补全脚本生成: ```rust +// BUILD TIME // Features: ["builds", "comp"] use mingling::build::build_comp_scripts; -fn main() { - // 为 `myprogram` 生成补全脚本 - build_comp_scripts("myprogram").unwrap(); -} +// 为 `myprogram` 生成补全脚本 +build_comp_scripts("myprogram").unwrap(); ``` ## 特性 `clap` |
