We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04bbeff commit f33b9deCopy full SHA for f33b9de
src/ops.rs
@@ -277,13 +277,13 @@ mod tests {
277
operators_str.sort_unstable();
278
correct_operators.sort_unstable();
279
280
- assert_eq!(&operators_str[..], &correct_operators[..]);
+ assert_eq!(&operators_str[..], correct_operators);
281
282
// Sorting out operands because they are returned in arbitrary order
283
operands_str.sort_unstable();
284
correct_operands.sort_unstable();
285
286
- assert_eq!(&operands_str[..], &correct_operands[..]);
+ assert_eq!(&operands_str[..], correct_operands);
287
}
288
289
#[test]
0 commit comments