summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2024-07-11 23:09:16 -0400
committerBotahamec <botahamec@outlook.com>2024-07-11 23:09:16 -0400
commit18fa67fb94e2826b939a1c55552a399719428f26 (patch)
tree001434b5836952e60939477a9f101f50b0e979f0 /src/lib.rs
parentc0dd0bc2f2f395cabd869cb2eeec34304012b88d (diff)
Fix typo
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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: