From 0f1277b455c886a8b35ee3421d6ed625576deebf Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 28 Feb 2026 13:50:34 +0800 Subject: Update README examples to use tmpl! macro syntax --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index cada0b2..14439b4 100644 --- a/README.md +++ b/README.md @@ -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: -- cgit