about summary refs log tree commit diff
path: root/src/tools/compiletest
diff options
context:
space:
mode:
authorblyxyas <blyxyas@gmail.com>2024-05-18 18:08:11 +0200
committerblyxyas <blyxyas@gmail.com>2024-05-18 18:12:18 +0200
commitc5c820e7fba55da41b09f9c862eb0f3c01f34a26 (patch)
tree14ff70660d87021ba5598def7f91c0f3b93efaf2 /src/tools/compiletest
parent685a80f7a0935c8e5016d8c9cd491937af155dd0 (diff)
downloadrust-c5c820e7fba55da41b09f9c862eb0f3c01f34a26.tar.gz
rust-c5c820e7fba55da41b09f9c862eb0f3c01f34a26.zip
Fix typos (taking into account review comments)
Diffstat (limited to 'src/tools/compiletest')
-rw-r--r--src/tools/compiletest/src/common.rs4
-rw-r--r--src/tools/compiletest/src/lib.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/compiletest/src/common.rs b/src/tools/compiletest/src/common.rs
index afbcc3e92bc..7ff45edd4b2 100644
--- a/src/tools/compiletest/src/common.rs
+++ b/src/tools/compiletest/src/common.rs
@@ -250,7 +250,7 @@ pub struct Config {
     /// Only run tests that match these filters
     pub filters: Vec<String>,
 
-    /// Skip tests tests matching these substrings. Corresponds to
+    /// Skip tests matching these substrings. Corresponds to
     /// `test::TestOpts::skip`. `filter_exact` does not apply to these flags.
     pub skip: Vec<String>,
 
@@ -381,7 +381,7 @@ pub struct Config {
     /// Whether to rerun tests even if the inputs are unchanged.
     pub force_rerun: bool,
 
-    /// Only rerun the tests that result has been modified accoring to Git status
+    /// Only rerun the tests that result has been modified according to Git status
     pub only_modified: bool,
 
     pub target_cfgs: OnceLock<TargetCfgs>,
diff --git a/src/tools/compiletest/src/lib.rs b/src/tools/compiletest/src/lib.rs
index 2e45caec46c..99bde107f3a 100644
--- a/src/tools/compiletest/src/lib.rs
+++ b/src/tools/compiletest/src/lib.rs
@@ -950,7 +950,7 @@ fn is_android_gdb_target(target: &str) -> bool {
     )
 }
 
-/// Returns `true` if the given target is a MSVC target for the purpouses of CDB testing.
+/// Returns `true` if the given target is a MSVC target for the purposes of CDB testing.
 fn is_pc_windows_msvc_target(target: &str) -> bool {
     target.ends_with("-pc-windows-msvc")
 }