From 0bcc8fcbc8b8d16540d9fd4c590f7ade5370fa97 Mon Sep 17 00:00:00 2001 From: jcsherin Date: Sat, 12 Oct 2024 20:00:59 +0530 Subject: [PATCH] Fixes: remove intra-doc link for `$UDWF` identifier --- datafusion/functions-window/src/macros.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datafusion/functions-window/src/macros.rs b/datafusion/functions-window/src/macros.rs index e934f883b1019..2905ccf4c2048 100644 --- a/datafusion/functions-window/src/macros.rs +++ b/datafusion/functions-window/src/macros.rs @@ -303,7 +303,7 @@ macro_rules! create_udwf_expr { ($UDWF:ident, $OUT_FN_NAME:ident, $DOC:expr) => { paste::paste! { #[doc = " Create a [`WindowFunction`](datafusion_expr::Expr::WindowFunction) expression for"] - #[doc = concat!(" [`", stringify!($UDWF), "`] user-defined window function.")] + #[doc = concat!(" `", stringify!($UDWF), "` user-defined window function.")] #[doc = ""] #[doc = concat!(" ", $DOC)] pub fn $OUT_FN_NAME() -> datafusion_expr::Expr { @@ -316,7 +316,7 @@ macro_rules! create_udwf_expr { ($UDWF:ident, $OUT_FN_NAME:ident, [$($PARAM:ident),+], $DOC:expr) => { paste::paste! { #[doc = " Create a [`WindowFunction`](datafusion_expr::Expr::WindowFunction) expression for"] - #[doc = concat!(" [`", stringify!($UDWF), "`] user-defined window function.")] + #[doc = concat!(" `", stringify!($UDWF), "` user-defined window function.")] #[doc = ""] #[doc = concat!(" ", $DOC)] pub fn $OUT_FN_NAME(