Skip to content

Commit 63a8c23

Browse files
committed
Fix a documentation link.
1 parent 3d7e85c commit 63a8c23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/api/src/trap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl Trap {
168168
/// Returns a reference the `message` stored in `Trap`.
169169
///
170170
/// In the case of an explicit exit, the exit status can be obtained by
171-
/// calling [`exit_code`](Self::exit_code).
171+
/// calling [`i32_exit_status`](Self::i32_exit_status).
172172
pub fn message(&self) -> &str {
173173
match &self.inner.reason {
174174
TrapReason::Message(message) => message,

0 commit comments

Comments
 (0)