Skip to content

Commit

Permalink
Merge pull request #38 from Aaron1011/remove-semi
Browse files Browse the repository at this point in the history
Remove trailing semicolon from err! macro
  • Loading branch information
webdesus committed Feb 9, 2021
2 parents aaa4bff + 5f54a1a commit 752fc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
macro_rules! err {
($text:expr, $kind:expr) => {
return Err(Error::new($kind, $text));
return Err(Error::new($kind, $text))
};

($text:expr) => {
Expand Down

0 comments on commit 752fc4d

Please sign in to comment.