Skip to content

Commit 5f54a1a

Browse files
committed
Remove trailing semicolon from err! macro
If the `semicolon_in_expressions_from_macros` lint is ever turned into a hard error, your crate will stop compiling. This commit ensures that your crate will compile on both current and future versions of Rust. See rust-lang/rust#79813 for more details
1 parent aaa4bff commit 5f54a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
macro_rules! err {
22
($text:expr, $kind:expr) => {
3-
return Err(Error::new($kind, $text));
3+
return Err(Error::new($kind, $text))
44
};
55

66
($text:expr) => {

0 commit comments

Comments
 (0)