Skip to content

Commit 2c65d5d

Browse files
committed
anyhow in prelude x2
1 parent 81e107e commit 2c65d5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ pub mod prelude {
1919
#[cfg(feature = "log")]
2020
pub use log::{debug, error, info, trace, warn};
2121
pub use std::time::{Duration, Instant};
22+
23+
// Anyhow
24+
pub use anyhow::{anyhow, bail};
25+
pub type AnyResult<T> = anyhow::Result<T>;
2226
}
2327

2428
pub mod anyhow {

0 commit comments

Comments
 (0)