Skip to content

Commit

Permalink
Fix a documentation link.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed May 13, 2020
1 parent e6dc85f commit 38a479c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmtime/src/trap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ impl Trap {
/// Returns a reference the `message` stored in `Trap`.
///
/// In the case of an explicit exit, the exit status can be obtained by
/// calling [`exit_code`](Self::exit_code).
/// calling [`i32_exit_status`](Self::i32_exit_status).
pub fn message(&self) -> &str {
match &self.inner.reason {
TrapReason::Message(message) => message,
Expand Down

0 comments on commit 38a479c

Please sign in to comment.