diff --git a/common/src/db/query/filter.rs b/common/src/db/query/filter.rs index 74bc5ef0..515083d6 100644 --- a/common/src/db/query/filter.rs +++ b/common/src/db/query/filter.rs @@ -29,7 +29,7 @@ impl Filter { impl TryFrom<(&str, Operator, &Vec, &Columns)> for Filter { type Error = Error; fn try_from(tuple: (&str, Operator, &Vec, &Columns)) -> Result { - let (ref field, operator, values, columns) = tuple; + let (field, operator, values, columns) = tuple; let (expr, col_def) = columns.for_field(field)?; Ok(Filter { operator: match operator {