From c792064c9a44ae414fb3f1a5014baa8256da65a3 Mon Sep 17 00:00:00 2001 From: Botahamec Date: Wed, 9 Aug 2023 09:46:50 -0400 Subject: Add documentation --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 255bb4c..7b1e787 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,6 +3,7 @@ #![warn(clippy::pedantic)] #![warn(clippy::cargo)] #![allow(clippy::module_name_repetitions)] +#![allow(clippy::missing_errors_doc)] //! There are many errors we don't expect to occur. But what if we're wrong? We //! don't want our programs to panic because of that. We also don't want to spend //! so much time handling unexpected errors. That's what this crate is for. You @@ -150,7 +151,7 @@ pub use crate::exun::Exun; #[cfg(feature = "std")] pub use result::ResultErrorExt; #[cfg(feature = "alloc")] -pub use result::ResultMsgExt; +pub use result::{ResultExunExt, ResultMsgExt}; #[cfg(feature = "alloc")] pub use unexpected::{RawUnexpected, UnexpectedError}; pub use Exun::{Expected, Unexpected}; -- cgit v1.2.3