瀏覽代碼

DOCS: incorrect descriptions in AboutMetadata fields (#5744)

Antoine Meloche 2 年之前
父節點
當前提交
c7bffb01be
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/tauri-runtime/src/menu.rs

+ 2 - 2
core/tauri-runtime/src/menu.rs

@@ -584,13 +584,13 @@ impl AboutMetadata {
     self
     self
   }
   }
 
 
-  /// Defines the application version.
+  /// Defines the application's website link.
   pub fn website(mut self, website: impl Into<String>) -> Self {
   pub fn website(mut self, website: impl Into<String>) -> Self {
     self.website.replace(website.into());
     self.website.replace(website.into());
     self
     self
   }
   }
 
 
-  /// Defines the application version.
+  /// Defines the application's website link name.
   pub fn website_label(mut self, website_label: impl Into<String>) -> Self {
   pub fn website_label(mut self, website_label: impl Into<String>) -> Self {
     self.website_label.replace(website_label.into());
     self.website_label.replace(website_label.into());
     self
     self