Pārlūkot izejas kodu

refactor!: remove re-export from `tauri::path` module (#9104)

Amr Bashir 1 gadu atpakaļ
vecāks
revīzija
720357fd5c

+ 5 - 0
.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.

+ 1 - 1
core/tauri/src/path/mod.rs

@@ -11,7 +11,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr};
 
 
 pub(crate) mod plugin;
 pub(crate) mod plugin;
 
 
-pub use crate::error::*;
+use crate::error::*;
 
 
 #[cfg(target_os = "android")]
 #[cfg(target_os = "android")]
 mod android;
 mod android;