summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
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: