Skip to content

(json PR 206) Fix typo in comment (sing -> sign) #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/number.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
2 changes: 1 addition & 1 deletion tests/json_checker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ mod json_checker_fail {
}

#[test]
fn missmatch() {
fn mismatch() {
assert!(parse(r#"["mismatch"}"#).is_err());
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down