diff --git a/datafusion/core/src/bin/print_functions_docs.rs b/datafusion/core/src/bin/print_functions_docs.rs index b58f6e47d333..8b453d5e9698 100644 --- a/datafusion/core/src/bin/print_functions_docs.rs +++ b/datafusion/core/src/bin/print_functions_docs.rs @@ -88,6 +88,7 @@ fn print_window_docs() -> Result { // the migration of UDF documentation generation from code based // to attribute based // To be removed +#[allow(dead_code)] fn save_doc_code_text(documentation: &Documentation, name: &str) { let attr_text = documentation.to_doc_attribute(); @@ -182,7 +183,7 @@ fn print_docs( }; // Temporary for doc gen migration, see `save_doc_code_text` comments - save_doc_code_text(documentation, &name); + // save_doc_code_text(documentation, &name); // first, the name, description and syntax example let _ = write!(