diff options
| author | Botahamec <botahamec@outlook.com> | 2022-10-23 14:08:23 -0400 |
|---|---|---|
| committer | Botahamec <botahamec@outlook.com> | 2022-10-23 14:08:23 -0400 |
| commit | 5bc9670eb02e1c841c2436f29875490fd28f9262 (patch) | |
| tree | fc8a257b5bacdaad14d6134160250acaf58541c7 /src | |
| parent | 03968acb92d2c50ff610675998ace5e8059aa535 (diff) | |
Updated README
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,7 @@ #![warn(clippy::nursery)] #![warn(clippy::pedantic)] #![allow(clippy::module_name_repetitions)] +#![doc = include_str!("../README.md")] #[cfg(all(feature = "alloc", not(feature = "std")))] extern crate alloc; @@ -19,3 +20,6 @@ pub use result::ResultErrorExt; pub use result::ResultMsgExt; #[cfg(feature = "alloc")] pub use unexpected::{RawUnexpected, UnexpectedError}; + +#[cfg(feature = "alloc")] +pub type Expect<E> = Exun<E, RawUnexpected>; |
