Silence a clippy equal arguments warning

The unit tests need to pass identical arguments to an equality
comparison, to make sure equality is implemented correctly.
This commit is contained in:
teor 2020-10-30 15:13:48 +10:00 committed by Henry de Valence
parent 1c31225aac
commit d883462d83
1 changed files with 1 additions and 0 deletions

View File

@ -609,6 +609,7 @@ mod test {
Ok(())
}
#[allow(clippy::eq_op)]
fn ordering<C1, C2>() -> Result<()>
where
C1: Constraint + Debug,