summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2022-10-23 16:31:39 -0400
committerBotahamec <botahamec@outlook.com>2022-10-23 16:31:39 -0400
commit638e0cf60ff882a431e596731b4a4baf61b24267 (patch)
treec428ef04e4b01e2e92aa58d7246dc0eae99cfb5e /src/lib.rs
parent99b35c374fbce2e6eca22951f0eefdf933a5e8ee (diff)
Changed the use to look nicer with the docs
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7383557..b08100b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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>;