diff options
| author | Botahamec <botahamec@outlook.com> | 2022-10-23 16:31:39 -0400 |
|---|---|---|
| committer | Botahamec <botahamec@outlook.com> | 2022-10-23 16:31:39 -0400 |
| commit | 638e0cf60ff882a431e596731b4a4baf61b24267 (patch) | |
| tree | c428ef04e4b01e2e92aa58d7246dc0eae99cfb5e | |
| parent | 99b35c374fbce2e6eca22951f0eefdf933a5e8ee (diff) | |
Changed the use to look nicer with the docs
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -143,13 +143,14 @@ mod result; #[cfg(feature = "alloc")] mod unexpected; -pub use crate::exun::{Expected, Exun, Unexpected}; +pub use crate::exun::Exun; #[cfg(feature = "std")] pub use result::ResultErrorExt; #[cfg(feature = "alloc")] pub use result::ResultMsgExt; #[cfg(feature = "alloc")] pub use unexpected::{RawUnexpected, UnexpectedError}; +pub use Exun::{Expected, Unexpected}; #[cfg(feature = "alloc")] pub type Expect<E> = Exun<E, RawUnexpected>; |
