ソースを参照

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.
 /// ```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