We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5cea0c commit 77af00cCopy full SHA for 77af00c
1 file changed
tools/ci/src/main.rs
@@ -373,8 +373,8 @@ fn main() -> Result<()> {
373
Some(CiCmd::Lint) => {
374
ensure_repo_root()?;
375
// `cargo fmt --all` only checks files that Cargo discovers through workspace/package targets.
376
- // We also keep Rust sources in a few non-standard locations that are tracked but not reliably
377
- // covered by cargo fmt target discovery.
+ // However, we also keep Rust sources in a locations that are tracked but not part of our workspace,
+ // so this approach properly catches all the files, where `cargo fmt` does not.
378
let mut files = Vec::new();
379
files.extend(tracked_rs_files_under(".")?);
380
const RUSTFMT_BATCH_SIZE: usize = 200;
0 commit comments