diff --git a/crates/tauri/src/webview/mod.rs b/crates/tauri/src/webview/mod.rs index 5600a46626cd..fbbb539b9aea 100644 --- a/crates/tauri/src/webview/mod.rs +++ b/crates/tauri/src/webview/mod.rs @@ -818,8 +818,7 @@ fn main() { /// Can be used as a replacement for data_directory not being available in WKWebView. /// /// - **macOS / iOS**: Available on macOS >= 14 and iOS >= 17 - #[cfg(any(target_os = "macos", target_os = "ios"))] - #[cfg_attr(docsrs, doc(any(target_os = "macos", target_os = "ios")))] + /// - **Windows / Linux / Android**: Unsupported. #[must_use] pub fn data_store_identifier(mut self, data_store_identifier: [u8; 16]) -> Self { self.webview_attributes.data_store_identifier = Some(data_store_identifier); diff --git a/crates/tauri/src/webview/webview_window.rs b/crates/tauri/src/webview/webview_window.rs index 23a00eb17079..ec4aebbd2067 100644 --- a/crates/tauri/src/webview/webview_window.rs +++ b/crates/tauri/src/webview/webview_window.rs @@ -922,8 +922,7 @@ impl<'a, R: Runtime, M: Manager> WebviewWindowBuilder<'a, R, M> { /// Can be used as a replacement for data_directory not being available in WKWebView. /// /// - **macOS / iOS**: Available on macOS >= 14 and iOS >= 17 - #[cfg(any(target_os = "macos", target_os = "ios"))] - #[cfg_attr(docsrs, doc(any(target_os = "macos", target_os = "ios")))] + /// - **Windows / Linux / Android**: Unsupported. #[must_use] pub fn data_store_identifier(mut self, data_store_identifier: [u8; 16]) -> Self { self.webview_builder = self