From 9191b0cfd25e0753674b77104ad89ded0165474e Mon Sep 17 00:00:00 2001 From: GrayJack Date: Tue, 23 Apr 2024 02:59:45 -0300 Subject: [PATCH] docs: Small docs adjustments for `jcatch!` macro --- src/macros.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/macros.rs b/src/macros.rs index fea46ba52d..07e58aa7d0 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -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() { @@ -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 {