Some clippy lints

This commit is contained in:
kjeremy 2020-01-13 11:27:06 -05:00
parent 5621f90071
commit a82c679c97
10 changed files with 45 additions and 46 deletions

View file

@ -127,8 +127,8 @@ pub enum BinOp {
}
impl BinOp {
pub fn is_assignment(&self) -> bool {
match *self {
pub fn is_assignment(self) -> bool {
match self {
BinOp::Assignment
| BinOp::AddAssign
| BinOp::DivAssign