@@ -35,7 +35,7 @@ const DEFAULT_MAX_FAILURES: u64 = 20;
3535/// Register exhaustive tests only for <= 32 bits. No more because it would take years.
3636const MAX_BITS_FOR_EXHAUUSTIVE : u32 = 32 ;
3737
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
3939/// others run (so as to avoid thread pool starvation). They also can be excluded with
4040/// `--skip-huge`.
4141const HUGE_TEST_CUTOFF : u64 = 5_000_000 ;
@@ -109,7 +109,7 @@ pub fn run(cfg: Config, include: &[String], exclude: &[String]) -> ExitCode {
109109 ui:: finish ( & tests, elapsed, & cfg)
110110}
111111
112- /// Enumerate tests to run but don't actaully run them.
112+ /// Enumerate tests to run but don't actually run them.
113113pub fn register_tests ( cfg : & Config ) -> Vec < TestInfo > {
114114 let mut tests = Vec :: new ( ) ;
115115
@@ -120,7 +120,7 @@ pub fn register_tests(cfg: &Config) -> Vec<TestInfo> {
120120 tests. sort_unstable_by_key ( |t| ( t. float_name , t. gen_name ) ) ;
121121 for i in 0 ..( tests. len ( ) - 1 ) {
122122 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) ;
124124 }
125125 }
126126
@@ -295,7 +295,7 @@ enum Update {
295295 fail : CheckFailure ,
296296 /// String for which parsing was attempted.
297297 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.
299299 float_res : Box < str > ,
300300 } ,
301301 /// Exited with an unexpected condition.
0 commit comments