about summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2020-03-06 12:13:55 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2020-03-06 15:19:31 +0100
commit136ad015b6862274bf8c161dc5d2955409ed1465 (patch)
tree44213c111b970f7f07b47611a2287e986a7f7a24 /src/libtest
parent865b44a3e330f3ef8be0f6edf69896c9ed957ac0 (diff)
downloadrust-136ad015b6862274bf8c161dc5d2955409ed1465.tar.gz
rust-136ad015b6862274bf8c161dc5d2955409ed1465.zip
fix various typos
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/cli.rs2
-rw-r--r--src/libtest/options.rs2
-rw-r--r--src/libtest/test_result.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libtest/cli.rs b/src/libtest/cli.rs
index a800bd17c50..5317063b80d 100644
--- a/src/libtest/cli.rs
+++ b/src/libtest/cli.rs
@@ -283,7 +283,7 @@ fn is_nightly() -> bool {
     bootstrap || !disable_unstable_features
 }
 
-// Gets the CLI options assotiated with `report-time` feature.
+// Gets the CLI options associated with `report-time` feature.
 fn get_time_options(
     matches: &getopts::Matches,
     allow_unstable: bool,
diff --git a/src/libtest/options.rs b/src/libtest/options.rs
index 7db164c269a..8e7bd8de924 100644
--- a/src/libtest/options.rs
+++ b/src/libtest/options.rs
@@ -41,7 +41,7 @@ pub enum OutputFormat {
     Json,
 }
 
-/// Whether ignored test should be runned or not
+/// Whether ignored test should be run or not
 #[derive(Copy, Clone, Debug, PartialEq, Eq)]
 pub enum RunIgnored {
     Yes,
diff --git a/src/libtest/test_result.rs b/src/libtest/test_result.rs
index 5c975c6272b..465f3f8f994 100644
--- a/src/libtest/test_result.rs
+++ b/src/libtest/test_result.rs
@@ -27,7 +27,7 @@ pub enum TestResult {
 unsafe impl Send for TestResult {}
 
 /// Creates a `TestResult` depending on the raw result of test execution
-/// and assotiated data.
+/// and associated data.
 pub fn calc_result<'a>(
     desc: &TestDesc,
     task_result: Result<(), &'a (dyn Any + 'static + Send)>,