about summary refs log tree commit diff
path: root/src/tools/compiletest
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-10-29 17:39:13 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-10-29 17:39:13 +1100
commit6f82a952986bae1c2a21d439af7a3f7d86008e06 (patch)
tree2b6c1936873446cd62dd5a808421e8b32468d106 /src/tools/compiletest
parent3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 (diff)
downloadrust-6f82a952986bae1c2a21d439af7a3f7d86008e06.tar.gz
rust-6f82a952986bae1c2a21d439af7a3f7d86008e06.zip
Rename `command-list.rs` to `directive-list.rs`
Diffstat (limited to 'src/tools/compiletest')
-rw-r--r--src/tools/compiletest/src/directive-list.rs (renamed from src/tools/compiletest/src/command-list.rs)0
-rw-r--r--src/tools/compiletest/src/header.rs4
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/compiletest/src/command-list.rs b/src/tools/compiletest/src/directive-list.rs
index 4d57907f26f..4d57907f26f 100644
--- a/src/tools/compiletest/src/command-list.rs
+++ b/src/tools/compiletest/src/directive-list.rs
diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs
index d75cdefe635..a3bf36c0e90 100644
--- a/src/tools/compiletest/src/header.rs
+++ b/src/tools/compiletest/src/header.rs
@@ -709,11 +709,11 @@ fn line_directive<'line>(
     Some(DirectiveLine { line_number, revision, raw_directive })
 }
 
-// To prevent duplicating the list of commmands between `compiletest`,`htmldocck` and `jsondocck`,
+// To prevent duplicating the list of directives between `compiletest`,`htmldocck` and `jsondocck`,
 // we put it into a common file which is included in rust code and parsed here.
 // FIXME: This setup is temporary until we figure out how to improve this situation.
 //        See <https://github.com/rust-lang/rust/issues/125813#issuecomment-2141953780>.
-include!("command-list.rs");
+include!("directive-list.rs");
 
 const KNOWN_HTMLDOCCK_DIRECTIVE_NAMES: &[&str] = &[
     "count",