From 720357fd5cd1fefef8485077dfb116ee39ef4ab4 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Wed, 6 Mar 2024 23:31:23 +0200 Subject: [PATCH] refactor!: remove re-export from `tauri::path` module (#9104) --- .changes/path-result-error-rexport.md | 5 +++++ core/tauri/src/path/mod.rs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/path-result-error-rexport.md diff --git a/.changes/path-result-error-rexport.md b/.changes/path-result-error-rexport.md new file mode 100644 index 000000000..6783b717f --- /dev/null +++ b/.changes/path-result-error-rexport.md @@ -0,0 +1,5 @@ +--- +'tauri': 'major:breaking' +--- + +Removed `tauri::path::Result` and `tauri::path::Error` which were merely an unintentional re-export of `tauri::Result` and `tauri::Error` so use those instead. diff --git a/core/tauri/src/path/mod.rs b/core/tauri/src/path/mod.rs index b9ccce151..038ca2f17 100644 --- a/core/tauri/src/path/mod.rs +++ b/core/tauri/src/path/mod.rs @@ -11,7 +11,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; pub(crate) mod plugin; -pub use crate::error::*; +use crate::error::*; #[cfg(target_os = "android")] mod android;