Skip to content

Commit

Permalink
keep value.inner private to avoid being misused
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed Feb 20, 2023
1 parent 49f4c58 commit d292643
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions halo2_proofs/src/circuit/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ use crate::plonk::{Assigned, Error};
/// for improved usability.
#[derive(Clone, Copy, Debug)]
pub struct Value<V> {
/// for adhoc usage...
pub inner: Option<V>,
inner: Option<V>,
}

impl<V> Default for Value<V> {
Expand Down

0 comments on commit d292643

Please sign in to comment.