serde-diff icon indicating copy to clipboard operation
serde-diff copied to clipboard

Disable clippy float compare warning

Open PPakalns opened this issue 4 years ago • 0 comments

In this case clippy warning is raised that float comparison is being done:

#[derive(SerdeDiff)]
struct Test {
    a: f32
}

As we care only about binary representation, then we can disable comparison warning.

PPakalns avatar Oct 18 '21 15:10 PPakalns