From d89146aa02b39fe2a0511ebc866a15a2ca414cd5 Mon Sep 17 00:00:00 2001 From: lyken Date: Thu, 20 Jun 2024 13:47:49 +0800 Subject: [PATCH] core: use no_run on builtin_fns docs --- nac3core/src/codegen/builtin_fns.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nac3core/src/codegen/builtin_fns.rs b/nac3core/src/codegen/builtin_fns.rs index 77a397370..5efbe4a51 100644 --- a/nac3core/src/codegen/builtin_fns.rs +++ b/nac3core/src/codegen/builtin_fns.rs @@ -1193,7 +1193,7 @@ macro_rules! create_helper_call_numpy_unary_elementwise { /// * `$on_scalar:expr`: The closure (see below for its type) that acts on float scalar values and returns /// the boolean results of LLVM type `i1`. The returned `i1` value will be converted into an `i8`. /// -/// ```rust +/// ```ignore /// // Type of `$on_scalar:expr` /// fn on_scalar<'ctx, G: CodeGenerator + ?Sized>( /// generator: &mut G, @@ -1229,7 +1229,7 @@ macro_rules! create_helper_call_numpy_unary_elementwise_float_to_bool { /// * `$fn_name:literal`: To be passed to the `fn_name` parameter of [`helper_call_numpy_unary_elementwise`]. /// * `$on_scalar:expr`: The closure (see below for its type) that acts on float scalar values and returns float results. /// -/// ```rust +/// ```ignore /// // Type of `$on_scalar:expr` /// fn on_scalar<'ctx, G: CodeGenerator + ?Sized>( /// generator: &mut G,