瀏覽代碼

chore: Correct grammar typo in documentation of `generate_handler` macro (#10110)

Matt Nield 1 年之前
父節點
當前提交
82c2eb3284
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/tauri-macros/src/lib.rs

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

@@ -42,7 +42,7 @@ pub fn mobile_entry_point(attributes: TokenStream, item: TokenStream) -> TokenSt
   mobile::entry_point(attributes, item)
 }
 
-/// Accepts a list of commands functions. Creates a handler that allows commands to be called from JS with invoke().
+/// Accepts a list of command functions. Creates a handler that allows commands to be called from JS with invoke().
 ///
 /// # Examples
 /// ```rust,ignore