@@ -197,7 +197,8 @@ pub fn taggedvardict_to_vardict(vd: &TaggedVarDict) -> VarDict {
/// Collect the list of [`Point`](TaggedIdent::Point)s tagged `cind`
/// from the given [`TaggedVarDict`]
pub fn collect_cind_points(vars: &TaggedVarDict) -> Vec<Ident> {
- let mut cind_points: Vec<Ident> = vars.values()
+ let mut cind_points: Vec<Ident> = vars
+ .values()
.filter_map(|ti| {
if let TaggedIdent::Point(TaggedPoint {
is_cind: true,
@@ -28,7 +28,11 @@ pub fn dump_buffer() -> String {
pub fn dump(s: &str) {
let mut b = DUMP_BUFFER.lock().unwrap();
match *b {
- None => { print!("{}", s); }
- Some(ref mut buf) => { buf.push_str(s); }
+ None => {
+ print!("{}", s);
+ }
+ Some(ref mut buf) => {
+ buf.push_str(s);
}
@@ -6,7 +6,7 @@ pub use sigma_compiler_derive::{sigma_compiler, sigma_compiler_prover, sigma_com
pub use sigma_proofs;
pub use subtle;
-pub mod rangeutils;
-pub mod vecutils;
#[cfg(feature = "dump")]
pub mod dumper;
+pub mod rangeutils;
+pub mod vecutils;