CuteChuanChuan commented on PR #18542: URL: https://github.com/apache/datafusion/pull/18542#issuecomment-3638228124
Hi @alamb , Following the discussion in [PR #16916](https://github.com/apache/datafusion/pull/16916#issuecomment-3512786374), I've prepared this PR to enable CI enforcement for doc comment formatting. As you mentioned, we need to use the same version of `cargo fmt` to avoid conflicts. Since `format_code_in_doc_comments` is only available in nightly, this PR uses `cargo +nightly fmt` consistently in CI. This PR contains two commits: 1. **CI change**: Install nightly toolchain and use `cargo +nightly fmt --all -- --check --config format_code_in_doc_comments=true` 2. **Format fixes**: Apply nightly rustfmt formatting to all existing doc comment code examples PTAL when you have chance. Thank you! -- 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]
