Fix unnecessary trailing semicolon lints in test suite

warning: unnecessary trailing semicolon
        --> tests/test.rs:2133:6
         |
    2133 |     };
         |      ^ help: remove this semicolon
         |
         = note: `#[warn(redundant_semicolons)]` on by default

    warning: unnecessary trailing semicolon
        --> tests/test.rs:2166:6
         |
    2166 |     };
         |      ^ help: remove this semicolon
This commit is contained in:
David Tolnay 2021-02-27 20:44:47 -08:00
parent d400899cbd
commit 9bcb08fd92
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -2130,7 +2130,7 @@ fn test_borrowed_raw_value() {
#[serde(borrow)]
b: &'a RawValue,
c: i8,
};
}
let wrapper_from_str: Wrapper =
serde_json::from_str(r#"{"a": 1, "b": {"foo": 2}, "c": 3}"#).unwrap();
@ -2163,7 +2163,7 @@ fn test_boxed_raw_value() {
a: i8,
b: Box<RawValue>,
c: i8,
};
}
let wrapper_from_str: Wrapper =
serde_json::from_str(r#"{"a": 1, "b": {"foo": 2}, "c": 3}"#).unwrap();