Skip to content

Commit

Permalink
Remove unnecessary parens in macro
Browse files Browse the repository at this point in the history
  • Loading branch information
sanxiyn committed May 18, 2016
1 parent bc4c67d commit cdbf015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/macros.rs
Expand Up @@ -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)` \
Expand Down

0 comments on commit cdbf015

Please sign in to comment.