Skip to content

Commit

Permalink
fix unnecessary parentheses warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SWW13 committed Jan 26, 2018
1 parent 3dd6672 commit f1a04eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sequence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ macro_rules! delimited(
#[macro_export]
macro_rules! do_parse (
(__impl $i:expr, $consumed:expr, ( $($rest:expr),* )) => (
$crate::IResult::Done($i, ( $($rest),* ))
$crate::IResult::Done($i, $($rest),*)
);

(__impl $i:expr, $consumed:expr, $field:ident : $submac:ident!( $($args:tt)* ) ) => (
Expand Down
2 changes: 1 addition & 1 deletion src/whitespace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ macro_rules! eat_separator (
$crate::IResult::Done(($i).slice(index..), ($i).slice(..index))
},
::std::option::Option::None => {
$crate::IResult::Done(($i).slice(($i).input_len()..), ($i))
$crate::IResult::Done(($i).slice(($i).input_len()..), $i)
}
}
}
Expand Down

0 comments on commit f1a04eb

Please sign in to comment.