about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authoroliveredget <188809800+oliveredget@users.noreply.github.com>2024-12-24 23:37:30 +0800
committeroliveredget <188809800+oliveredget@users.noreply.github.com>2024-12-24 23:37:30 +0800
commitbe1d5dd494172ad8ff1676a52762f3fe90d2ffcb (patch)
treee6e6699ac147eabeb6bf567d4cae98d1c33b43f5 /src/tools
parent32c8a9f49d5b753ccb0aee2fd1f7a232a9c5baf3 (diff)
downloadrust-be1d5dd494172ad8ff1676a52762f3fe90d2ffcb.tar.gz
rust-be1d5dd494172ad8ff1676a52762f3fe90d2ffcb.zip
chore: fix typos
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/compiletest/src/read2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/read2.rs b/src/tools/compiletest/src/read2.rs
index 62e675c77ae..28ca5589992 100644
--- a/src/tools/compiletest/src/read2.rs
+++ b/src/tools/compiletest/src/read2.rs
@@ -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;