Remove superfluous semicolons.

This commit is contained in:
Sergio Benitez 2021-01-13 14:30:08 -08:00
parent a0d4a4749a
commit 031948c1da
2 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ fn check_complex() {
#[test]
fn check_location_promotion() {
struct S1(String);
struct S2 { name: String };
struct S2 { name: String }
let s1 = S1("Bob".into());
let s2 = S2 { name: "Bob".into() };

View File

@ -522,7 +522,7 @@ mod tests {
#[test]
fn send_and_sync() {
fn assert<T: Send + Sync>() {};
fn assert<T: Send + Sync>() {}
assert::<Origin<'_>>();
}