diff --git a/.zetch.lock b/.zetch.lock index b8000715..0279516b 100644 --- a/.zetch.lock +++ b/.zetch.lock @@ -18,6 +18,7 @@ "py_rust/LICENSE.zetch.md": "d2c12e539d357957b950a54a5477c3a9f87bd2b3ee707be7a4db7adaf5aacc2b", "py_rust/README.zetch.md": "585c5ad73001c958d6b7a75f518aa167f8f36108ae8c7a281a732cd56c7014a2", "rust/LICENSE.zetch.md": "d2c12e539d357957b950a54a5477c3a9f87bd2b3ee707be7a4db7adaf5aacc2b", - "rust/README.zetch.md": "585c5ad73001c958d6b7a75f518aa167f8f36108ae8c7a281a732cd56c7014a2" + "rust/README.zetch.md": "585c5ad73001c958d6b7a75f518aa167f8f36108ae8c7a281a732cd56c7014a2", + "rust/pkg/LICENSE.zetch.md": "d2c12e539d357957b950a54a5477c3a9f87bd2b3ee707be7a4db7adaf5aacc2b" } } \ No newline at end of file diff --git a/rust/bitbazaar/errors/mod.rs b/rust/bitbazaar/errors/mod.rs index 45495adc..b3acd8af 100644 --- a/rust/bitbazaar/errors/mod.rs +++ b/rust/bitbazaar/errors/mod.rs @@ -6,7 +6,8 @@ pub use any::AnyErr; /// Shorthand for a [`Result`] with a [`Report`] as the error variant pub type RResult = Result>; -pub(crate) mod prelude { +/// Easily import all useful error items. Useful to put inside a crate prelude. +pub mod prelude { #[allow(unused_imports)] pub use error_stack::{Report, ResultExt};