Skip to content

Commit 77af00c

Browse files
committed
[bfops/rustfmt]: review
1 parent f5cea0c commit 77af00c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/ci/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ fn main() -> Result<()> {
373373
Some(CiCmd::Lint) => {
374374
ensure_repo_root()?;
375375
// `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.
376+
// However, we also keep Rust sources in a locations that are tracked but not part of our workspace,
377+
// so this approach properly catches all the files, where `cargo fmt` does not.
378378
let mut files = Vec::new();
379379
files.extend(tracked_rs_files_under(".")?);
380380
const RUSTFMT_BATCH_SIZE: usize = 200;

0 commit comments

Comments
 (0)