Skip to content

Commit f7a4909

Browse files
authored
Minor: Comment temporary function for documentation migration (#13669)
* Minor: Comment temporary function for documentation migration * Minor: Comment temporary function for documentation migration
1 parent fc70323 commit f7a4909

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

datafusion/core/src/bin/print_functions_docs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ fn print_window_docs() -> Result<String> {
8888
// the migration of UDF documentation generation from code based
8989
// to attribute based
9090
// To be removed
91+
#[allow(dead_code)]
9192
fn save_doc_code_text(documentation: &Documentation, name: &str) {
9293
let attr_text = documentation.to_doc_attribute();
9394

@@ -182,7 +183,7 @@ fn print_docs(
182183
};
183184

184185
// Temporary for doc gen migration, see `save_doc_code_text` comments
185-
save_doc_code_text(documentation, &name);
186+
// save_doc_code_text(documentation, &name);
186187

187188
// first, the name, description and syntax example
188189
let _ = write!(

0 commit comments

Comments
 (0)