Currently, generated code does not contain Eq and causes clippy warning. Fixing it with clippy is slow, which slows down the whole development and testing process thus create noises.
To fix this, on code generation, as we don't use any floats, we just replace PartialEq in #[derive(...)] with PartialEq, Eq if there is no Eq exist in the list.
Currently, generated code does not contain
Eq
and causes clippy warning. Fixing it with clippy is slow, which slows down the whole development and testing process thus create noises.To fix this, on code generation, as we don't use any floats, we just replace
PartialEq
in#[derive(...)]
withPartialEq, Eq
if there is noEq
exist in the list.