From 6ca3f1a90e2bd26b965bf61c29ba469ae965c311 Mon Sep 17 00:00:00 2001 From: Dimo99 Date: Tue, 25 Jul 2023 11:44:27 +0300 Subject: [PATCH] Make GateRef value public --- plonky2/src/gates/gate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plonky2/src/gates/gate.rs b/plonky2/src/gates/gate.rs index dd0779de..4af3b463 100644 --- a/plonky2/src/gates/gate.rs +++ b/plonky2/src/gates/gate.rs @@ -217,7 +217,7 @@ impl, F: RichField + Extendable, const D: usize> AnyGate /// A wrapper around an `Arc` which implements `PartialEq`, `Eq` and `Hash` based on gate IDs. #[derive(Clone)] -pub struct GateRef, const D: usize>(pub(crate) Arc>); +pub struct GateRef, const D: usize>(pub Arc>); impl, const D: usize> GateRef { pub fn new>(gate: G) -> GateRef {