From 5bc9670eb02e1c841c2436f29875490fd28f9262 Mon Sep 17 00:00:00 2001 From: Botahamec Date: Sun, 23 Oct 2022 14:08:23 -0400 Subject: Updated README --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib.rs') 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 = Exun; -- cgit v1.2.3