mirror of
https://github.com/serde-rs/json.git
synced 2025-09-30 14:32:05 +00:00
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:
parent
d400899cbd
commit
9bcb08fd92
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user