chore: fix typos

This commit is contained in:
oliveredget 2024-12-24 23:37:30 +08:00
parent 32c8a9f49d
commit be1d5dd494
No known key found for this signature in database
GPG key ID: FC23EA5AECCBE0C0
5 changed files with 6 additions and 6 deletions

View file

@ -90,7 +90,7 @@ impl ProcOutput {
.count();
*filtered_len -= matches * path_bytes.len();
// We can't just remove the length of the filtered path from the output lenght,
// We can't just remove the length of the filtered path from the output length,
// otherwise a compiler emitting only filtered paths would OOM compiletest. Add
// a fixed placeholder length for each path to prevent that.
*filtered_len += matches * FILTERED_PATHS_PLACEHOLDER_LEN;