Skip to content

Use Wrapping to fix tests

Tim Crawford requested to merge tcrawford/dmi:fix-tests into master

Fixes cargo test failing with:

... panicked at 'attempt to add with overflow', src/lib.rs:38:61

Additionally fixes the following clippy lints:

  • clippy::unnecessary_fold
  • clippy::assign_op_pattern

Signed-off-by: Tim Crawford tcrawford@system76.com

Merge request reports