diff --git a/src/number.rs b/src/number.rs index 8b5f917..28f546f 100644 --- a/src/number.rs +++ b/src/number.rs @@ -42,7 +42,7 @@ pub struct Number { // Decimal exponent, analog to `e` notation in string form. exponent: i16, - // Integer base before sing and exponent applied. + // Integer base before sign and exponent applied. mantissa: u64, } diff --git a/tests/json_checker.rs b/tests/json_checker.rs index b906ae0..f8f5846 100644 --- a/tests/json_checker.rs +++ b/tests/json_checker.rs @@ -154,7 +154,7 @@ mod json_checker_fail { } #[test] - fn missmatch() { + fn mismatch() { assert!(parse(r#"["mismatch"}"#).is_err()); } } diff --git a/tests/parse.rs b/tests/parse.rs index 5a7cfbb..6c8c791 100644 --- a/tests/parse.rs +++ b/tests/parse.rs @@ -238,7 +238,7 @@ fn parse_and_index_mut_from_null() { assert!(data["foo"]["bar"].is_null()); - // test that data didn't coerece to object + // test that data didn't coerce to object assert!(data.is_null()); data["foo"]["bar"] = 100.into();