diff options
| author | Botahamec <botahamec@outlook.com> | 2023-08-09 09:46:50 -0400 |
|---|---|---|
| committer | Botahamec <botahamec@outlook.com> | 2023-08-09 09:46:50 -0400 |
| commit | c792064c9a44ae414fb3f1a5014baa8256da65a3 (patch) | |
| tree | a5acfef4a40c0ff45dc6b7096e27f7343a3b549c /src/lib.rs | |
| parent | 4e25a60d0f18aafab53a82a79e0ac10a0de2d6c4 (diff) | |
Add documentation
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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}; |
