Skip to content

Commit

Permalink
docs: Small docs adjustments for jcatch! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayJack committed Apr 23, 2024
1 parent fe45c9b commit 9191b0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ macro_rules! bad_slot {
/// any janet panic that may happen as a [`Result`].
///
/// # Examples
/// ```ignore
/// ```rust, ignore
/// use janetrs::{jcatch, jpanic, Janet};
///
/// fn panic_fn() {
Expand All @@ -345,7 +345,7 @@ macro_rules! bad_slot {
/// }
/// ```
///
/// [`JanetCFunction`]: ./types/struct.JanetCFunction.html
/// [`JanetCFunction`]: crate::JanetCFunction
#[crate::cjvg("1.12.2")]
#[macro_export]
macro_rules! jcatch {
Expand Down

0 comments on commit 9191b0c

Please sign in to comment.