From 684efbd6c1c80f93e3be59aa5dd585a26ae214fd Mon Sep 17 00:00:00 2001 From: therealyingtong Date: Fri, 28 May 2021 12:30:38 +0800 Subject: [PATCH] plonk::circuit : Derive Eq for Permutation --- src/plonk/circuit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plonk/circuit.rs b/src/plonk/circuit.rs index c7ff23a8..808277ec 100644 --- a/src/plonk/circuit.rs +++ b/src/plonk/circuit.rs @@ -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,