A witness equality should have at least 2 witness references.
(&self)
| 62 | impl EqualWitnesses { |
| 63 | /// A witness equality should have at least 2 witness references. |
| 64 | pub fn is_valid(&self) -> bool { |
| 65 | self.0.len() > 1 |
| 66 | } |
| 67 | |
| 68 | pub fn has_wit_ref(&self, wit_ref: &WitnessRef) -> bool { |
| 69 | self.0.contains(wit_ref) |