tytanic_utils/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! A utility library for tytanic and its internal crates.
//!
//! This library makes _*no stability guarantees*_ at the moment and likely
//! won't ever.

pub mod fmt;
pub mod fs;
pub mod path;
pub mod result;

/// Re-exports of useful traits and types.
pub mod prelude {
    pub use result::ResultEx;

    use super::*;
}

mod private {
    pub(crate) trait Sealed {}

    impl<T, E> Sealed for Result<T, E> {}
}