浏览代码

docs(tauri-macros): fix typo in documentation of `do_menu_item` macro (#10200)

zrq8 1 年之前
父节点
当前提交
24aaf0f5af
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/tauri-macros/src/lib.rs

+ 1 - 1
core/tauri-macros/src/lib.rs

@@ -109,7 +109,7 @@ pub fn default_runtime(attributes: TokenStream, input: TokenStream) -> TokenStre
 /// ```
 /// ```
 /// but you can't have mixed negations and positive kinds.
 /// but you can't have mixed negations and positive kinds.
 /// ```ignore
 /// ```ignore
-/// do_menu_item!(resources_table, rid, kind, |i| i.set_text(text), !Check | Submeun);
+/// do_menu_item!(resources_table, rid, kind, |i| i.set_text(text), !Check | Submenu);
 /// ```
 /// ```
 ///
 ///
 /// #### Example
 /// #### Example