@@ -35,7 +35,7 @@ const DEFAULT_MAX_FAILURES: u64 = 20;
35
35
/// Register exhaustive tests only for <= 32 bits. No more because it would take years.
36
36
const MAX_BITS_FOR_EXHAUUSTIVE : u32 = 32 ;
37
37
38
- /// If there are more tests than this threashold , the test will be defered until after all
38
+ /// If there are more tests than this threshold , the test will be deferred until after all
39
39
/// others run (so as to avoid thread pool starvation). They also can be excluded with
40
40
/// `--skip-huge`.
41
41
const HUGE_TEST_CUTOFF : u64 = 5_000_000 ;
@@ -109,7 +109,7 @@ pub fn run(cfg: Config, include: &[String], exclude: &[String]) -> ExitCode {
109
109
ui:: finish ( & tests, elapsed, & cfg)
110
110
}
111
111
112
- /// Enumerate tests to run but don't actaully run them.
112
+ /// Enumerate tests to run but don't actually run them.
113
113
pub fn register_tests ( cfg : & Config ) -> Vec < TestInfo > {
114
114
let mut tests = Vec :: new ( ) ;
115
115
@@ -120,7 +120,7 @@ pub fn register_tests(cfg: &Config) -> Vec<TestInfo> {
120
120
tests. sort_unstable_by_key ( |t| ( t. float_name , t. gen_name ) ) ;
121
121
for i in 0 ..( tests. len ( ) - 1 ) {
122
122
if tests[ i] . gen_name == tests[ i + 1 ] . gen_name {
123
- panic ! ( "dupliate test name {}" , tests[ i] . gen_name) ;
123
+ panic ! ( "duplicate test name {}" , tests[ i] . gen_name) ;
124
124
}
125
125
}
126
126
@@ -295,7 +295,7 @@ enum Update {
295
295
fail : CheckFailure ,
296
296
/// String for which parsing was attempted.
297
297
input : Box < str > ,
298
- /// The parsed & decomposed `FloatRes`, aleady stringified so we don't need generics here.
298
+ /// The parsed & decomposed `FloatRes`, already stringified so we don't need generics here.
299
299
float_res : Box < str > ,
300
300
} ,
301
301
/// Exited with an unexpected condition.
0 commit comments