From e54c4bc1b35a69e5a89ed402c7da5e1d814c1967 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Tue, 21 Nov 2017 14:00:00 -0700 Subject: [PATCH] Rename to `namespace_public`. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2581043..da7387e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -162,7 +162,7 @@ pub trait PublicConstraintSystem: ConstraintSystem 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> @@ -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); } }