From 18fa67fb94e2826b939a1c55552a399719428f26 Mon Sep 17 00:00:00 2001 From: Botahamec Date: Thu, 11 Jul 2024 23:09:16 -0400 Subject: Fix typo --- README.md | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3a47fdc..bbb0dd0 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ into `Exun` and `RawUnexpected` errors automatically, and it's needed for `Result::unexpect`. * `alloc`: This is needed for `RawUnexpected` and `UnexpectedError` to hold -string messages. This can be done with `Result::unexpect_mshg`. Without this, +string messages. This can be done with `Result::unexpect_msg`. Without this, only the equivalent of `Result::unexpect_none` can be constructed. To disable these features: diff --git a/src/lib.rs b/src/lib.rs index faae525..b112887 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -47,7 +47,7 @@ //! [`Result::unexpect`]. //! //! * `alloc`: This is needed for `RawUnexpected` and `UnexpectedError` to hold -//! string messages. This can be done with `Result::unexpect_mshg`. Without this, +//! string messages. This can be done with `Result::unexpect_msg`. Without this, //! only the equivalent of `Result::unexpect_none` can be constructed. //! //! To disable these features: -- cgit v1.2.3