summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2022-10-23 14:08:23 -0400
committerBotahamec <botahamec@outlook.com>2022-10-23 14:08:23 -0400
commit5bc9670eb02e1c841c2436f29875490fd28f9262 (patch)
treefc8a257b5bacdaad14d6134160250acaf58541c7 /src
parent03968acb92d2c50ff610675998ace5e8059aa535 (diff)
Updated README
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c7eef2d..d47c604 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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>;