diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-02-28 13:50:34 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-02-28 13:50:34 +0800 |
| commit | 0f1277b455c886a8b35ee3421d6ed625576deebf (patch) | |
| tree | b3ca33f4947d3c53ea5d8df6ca2d041624730ddf /README.md | |
| parent | b06f59192bb353dd374c3040f309c4c06fce0b0b (diff) | |
Update README examples to use tmpl! macro syntax
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -46,8 +46,12 @@ pub async fn my_func( Run cmds: ```rust -insert_impl!("arms", crate_name = "my") -insert_impl!("arms", crate_name = "you") +tmpl!(tmpl += { + arms { + (crate_name = "my"), + (crate_name = "you") + } +}); ``` The `arms` impl_area becomes: |
