From 7873c4a1c680b6809cc954ff904a6a7a536cfa3b Mon Sep 17 00:00:00 2001 From: yy Date: Sat, 17 Jan 2026 20:30:14 +0900 Subject: [PATCH] docs: fix typos in comments (#14787) --- crates/tauri-bundler/src/bundle/macos/sign.rs | 2 +- crates/tauri-bundler/src/bundle/settings.rs | 2 +- crates/tauri-runtime-wry/src/window/mod.rs | 2 +- crates/tauri-runtime/src/webview.rs | 2 +- crates/tauri/src/webview/mod.rs | 2 +- crates/tauri/src/webview/webview_window.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/tauri-bundler/src/bundle/macos/sign.rs b/crates/tauri-bundler/src/bundle/macos/sign.rs index 8d8bf6c2b..acde62708 100644 --- a/crates/tauri-bundler/src/bundle/macos/sign.rs +++ b/crates/tauri-bundler/src/bundle/macos/sign.rs @@ -21,7 +21,7 @@ pub fn keychain(identity: Option<&str>) -> crate::Result>, - /// the list of of RPM dependencies your application recommends. + /// the list of RPM dependencies your application recommends. pub recommends: Option>, /// The list of RPM dependencies your application provides. pub provides: Option>, diff --git a/crates/tauri-runtime-wry/src/window/mod.rs b/crates/tauri-runtime-wry/src/window/mod.rs index 6fb2dbe17..b18543e5d 100644 --- a/crates/tauri-runtime-wry/src/window/mod.rs +++ b/crates/tauri-runtime-wry/src/window/mod.rs @@ -39,7 +39,7 @@ pub trait WindowExt { /// - **Android / iOS**: Unsupported. fn center(&self) {} - /// Clears the window surface. i.e make it it transparent. + /// Clears the window surface. i.e make it transparent. #[cfg(windows)] fn draw_surface( &self, diff --git a/crates/tauri-runtime/src/webview.rs b/crates/tauri-runtime/src/webview.rs index efce7d814..80f7edf0e 100644 --- a/crates/tauri-runtime/src/webview.rs +++ b/crates/tauri-runtime/src/webview.rs @@ -363,7 +363,7 @@ pub struct WebviewAttributes { /// see https://docs.rs/objc2-web-kit/latest/objc2_web_kit/struct.WKWebView.html#method.allowsLinkPreview pub allow_link_preview: bool, pub scroll_bar_style: ScrollBarStyle, - /// Allows overriding the the keyboard accessory view on iOS. + /// Allows overriding the keyboard accessory view on iOS. /// Returning `None` effectively removes the view. /// /// The closure parameter is the webview instance. diff --git a/crates/tauri/src/webview/mod.rs b/crates/tauri/src/webview/mod.rs index 44d9e0a36..4df09182a 100644 --- a/crates/tauri/src/webview/mod.rs +++ b/crates/tauri/src/webview/mod.rs @@ -1202,7 +1202,7 @@ fn main() { self } - /// Allows overriding the the keyboard accessory view on iOS. + /// Allows overriding the keyboard accessory view on iOS. /// Returning `None` effectively removes the view. /// /// The closure parameter is the webview instance. diff --git a/crates/tauri/src/webview/webview_window.rs b/crates/tauri/src/webview/webview_window.rs index f3c8665c3..92b033b06 100644 --- a/crates/tauri/src/webview/webview_window.rs +++ b/crates/tauri/src/webview/webview_window.rs @@ -1230,7 +1230,7 @@ impl> WebviewWindowBuilder<'_, R, M> { self } - /// Allows overriding the the keyboard accessory view on iOS. + /// Allows overriding the keyboard accessory view on iOS. /// Returning `None` effectively removes the view. /// /// The closure parameter is the webview instance.