Skip to content

Commit

Permalink
Rename to namespace_public.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebfull committed Nov 21, 2017
1 parent af91dcd commit e54c4bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ pub trait PublicConstraintSystem<E: Engine>: ConstraintSystem<E>
fn get_public_root(&mut self) -> &mut Self::PublicRoot;

/// Begin a namespace for this constraint system.
fn public_namespace<'a, NR, N>(
fn namespace_public<'a, NR, N>(
&'a mut self,
name_fn: N
) -> Namespace<'a, E, Self::PublicRoot>
Expand Down Expand Up @@ -441,7 +441,7 @@ fn test_cs() {
cs.alloc_input(|| "something", || Ok(E::Fr::zero())).unwrap();

if one_more {
do_stuff_with_pcs(cs.public_namespace(|| "cool namespace"), false);
do_stuff_with_pcs(cs.namespace_public(|| "cool namespace"), false);
}
}

Expand Down

0 comments on commit e54c4bc

Please sign in to comment.