shruti2522 commented on code in PR #17100:
URL: https://github.com/apache/datafusion/pull/17100#discussion_r2267445183


##########
datafusion/functions/src/macros.rs:
##########
@@ -73,6 +73,7 @@ macro_rules! export_functions {
 #[macro_export]
 macro_rules! make_udf_function {
     ($UDF:ty, $NAME:ident) => {
+        #[allow(rustdoc::redundant_explicit_links)]
         #[doc = concat!("Return a [`ScalarUDF`](datafusion_expr::ScalarUDF) 
implementation of ", stringify!($NAME))]

Review Comment:
   used `#[allow(rustdoc::redundant_explicit_links)]` to supress the warnings 
beacuse the macro is used in places where `ScalarUDF` is sometimes already 
imported, making the full path redundant and sometimes not requiring the full 
path, causing conflicting doc link warnings.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to