@@ -481,7 +481,7 @@ impl Selector {
481481#[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
482482pub struct FixedQuery {
483483 /// Query index
484- pub ( crate ) index : Option < usize > ,
484+ pub index : Option < usize > ,
485485 /// Column index
486486 pub ( crate ) column_index : usize ,
487487 /// Rotation of this query
@@ -504,7 +504,7 @@ impl FixedQuery {
504504#[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
505505pub struct AdviceQuery {
506506 /// Query index
507- pub ( crate ) index : Option < usize > ,
507+ pub index : Option < usize > ,
508508 /// Column index
509509 pub ( crate ) column_index : usize ,
510510 /// Rotation of this query
@@ -534,7 +534,7 @@ impl AdviceQuery {
534534#[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
535535pub struct InstanceQuery {
536536 /// Query index
537- pub ( crate ) index : Option < usize > ,
537+ pub index : Option < usize > ,
538538 /// Column index
539539 pub ( crate ) column_index : usize ,
540540 /// Rotation of this query
@@ -1338,11 +1338,6 @@ impl<F: Field> Product<Self> for Expression<F> {
13381338 }
13391339}
13401340
1341- // /// Represents an index into a vector where each entry corresponds to a distinct
1342- // /// point that polynomials are queried at.
1343- // #[derive(Copy, Clone, Debug)]
1344- // pub(crate) struct PointIndex(pub usize);
1345-
13461341/// A "virtual cell" is a PLONK cell that has been queried at a particular relative offset
13471342/// within a custom gate.
13481343#[ derive( Clone , Debug ) ]
@@ -2140,7 +2135,8 @@ impl<F: Field> ConstraintSystem<F> {
21402135 } ) ;
21412136 }
21422137
2143- pub ( crate ) fn phases ( & self ) -> impl Iterator < Item = sealed:: Phase > {
2138+ /// Return an iterator over the phases of the constraint system.
2139+ pub fn phases ( & self ) -> impl Iterator < Item = sealed:: Phase > {
21442140 let max_phase = self
21452141 . advice_column_phase
21462142 . iter ( )
0 commit comments