Skip to content

Commit 61eb6de

Browse files
committed
Resolve unnecessary_semicolon pedantic clippy lint
warning: unnecessary semicolon --> src/any.rs:60:10 | 60 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon = note: `-W clippy::unnecessary-semicolon` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::unnecessary_semicolon)]`
1 parent 3fda9e2 commit 61eb6de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/any.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl Any {
5757
mem::drop(unsafe { Box::from_raw(value.ptr.cast::<T>()) });
5858
}
5959
drop = ptr_drop::<T>;
60-
};
60+
}
6161

6262
Any {
6363
value,

0 commit comments

Comments
 (0)