Remove unnecessary parens in macro
This commit is contained in:
parent
bc4c67dd0a
commit
cdbf01570f
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ macro_rules! assert {
|
|||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
macro_rules! assert_eq {
|
||||
($left:expr , $right:expr) => ({
|
||||
match (&($left), &($right)) {
|
||||
match (&$left, &$right) {
|
||||
(left_val, right_val) => {
|
||||
if !(*left_val == *right_val) {
|
||||
panic!("assertion failed: `(left == right)` \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue