Skip to content

Commit

Permalink
Forgot to make errors::prelude public
Browse files Browse the repository at this point in the history
  • Loading branch information
zakstucke committed Jun 13, 2024
1 parent 9d3c54e commit 327011b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .zetch.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion rust/bitbazaar/errors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ pub use any::AnyErr;
/// Shorthand for a [`Result`] with a [`Report`] as the error variant
pub type RResult<T, C> = Result<T, error_stack::Report<C>>;

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};

Expand Down

0 comments on commit 327011b

Please sign in to comment.