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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]