plonk::circuit : Derive Eq for Permutation

This commit is contained in:
therealyingtong 2021-05-28 12:30:38 +08:00 committed by Jack Grigg
parent aac310c763
commit 684efbd6c1
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ impl Selector {
}
/// A permutation.
#[derive(Clone, Debug)]
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Permutation {
/// The index of this permutation.
index: usize,