Skip to content

Commit 9bcb08f

Browse files
committed
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
1 parent d400899 commit 9bcb08f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,7 +2130,7 @@ fn test_borrowed_raw_value() {
21302130
#[serde(borrow)]
21312131
b: &'a RawValue,
21322132
c: i8,
2133-
};
2133+
}
21342134

21352135
let wrapper_from_str: Wrapper =
21362136
serde_json::from_str(r#"{"a": 1, "b": {"foo": 2}, "c": 3}"#).unwrap();
@@ -2163,7 +2163,7 @@ fn test_boxed_raw_value() {
21632163
a: i8,
21642164
b: Box<RawValue>,
21652165
c: i8,
2166-
};
2166+
}
21672167

21682168
let wrapper_from_str: Wrapper =
21692169
serde_json::from_str(r#"{"a": 1, "b": {"foo": 2}, "c": 3}"#).unwrap();

0 commit comments

Comments
 (0)