Skip to content

Commit

Permalink
Remove soon-to-be-disallowed trailing semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Aug 3, 2021
1 parent 603ffbd commit 9b005f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions num_enum_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ macro_rules! die {
($spanned:expr=>
$msg:expr
) => {
return Err(Error::new_spanned($spanned, $msg));
return Err(Error::new_spanned($spanned, $msg))
};

(
$msg:expr
) => {
return Err(Error::new(Span::call_site(), $msg));
return Err(Error::new(Span::call_site(), $msg))
};
}

Expand Down

0 comments on commit 9b005f7

Please sign in to comment.