update to edition 2021 & fix clippy lints
This commit is contained in:
+2
-6
@@ -555,9 +555,7 @@ mod test {
|
||||
|
||||
assert!(
|
||||
(target_acc - acc).abs() < 1.0,
|
||||
"Expected: {} | Actual: {}",
|
||||
target_acc,
|
||||
acc
|
||||
"Expected: {target_acc} | Actual: {acc}",
|
||||
);
|
||||
}
|
||||
|
||||
@@ -596,9 +594,7 @@ mod test {
|
||||
|
||||
assert!(
|
||||
(target_acc - acc).abs() < 1.0,
|
||||
"Expected: {} | Actual: {}",
|
||||
target_acc,
|
||||
acc
|
||||
"Expected: {target_acc} | Actual: {acc}",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user