We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d7e85c commit 63a8c23Copy full SHA for 63a8c23
1 file changed
crates/api/src/trap.rs
@@ -168,7 +168,7 @@ impl Trap {
168
/// Returns a reference the `message` stored in `Trap`.
169
///
170
/// In the case of an explicit exit, the exit status can be obtained by
171
- /// calling [`exit_code`](Self::exit_code).
+ /// calling [`i32_exit_status`](Self::i32_exit_status).
172
pub fn message(&self) -> &str {
173
match &self.inner.reason {
174
TrapReason::Message(message) => message,
0 commit comments