Skip to content

Commit f33b9de

Browse files
Luni-4marco-c
authored andcommitted
Fix clippy lints
1 parent 04bbeff commit f33b9de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ops.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,13 @@ mod tests {
277277
operators_str.sort_unstable();
278278
correct_operators.sort_unstable();
279279

280-
assert_eq!(&operators_str[..], &correct_operators[..]);
280+
assert_eq!(&operators_str[..], correct_operators);
281281

282282
// Sorting out operands because they are returned in arbitrary order
283283
operands_str.sort_unstable();
284284
correct_operands.sort_unstable();
285285

286-
assert_eq!(&operands_str[..], &correct_operands[..]);
286+
assert_eq!(&operands_str[..], correct_operands);
287287
}
288288

289289
#[test]

0 commit comments

Comments
 (0)