arnaucube
arnaucube/ark-r1cs-stdPublic Self-hosted repository
Fix no-std compilation
Pratyush Mishra pratyushmishra@berkeley.edu
Wed, 10 Jun 2020 01:15:27 -0700
commit

40e89254e01b0787089e88439fbd7b70f6c496a2

parent

d5e7d8bb36b4816317808526b323c9c62adc1c17

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M r1cs-std/src/test_constraint_system.rs → r1cs-std/src/test_constraint_system.rs

@@ -132,10 +132,10 @@ }

fn compute_path(ns: &[String], this: String) -> String { if this.chars().any(|a| a == '/') { - panic!(format!( - "'/' is not allowed in namespace names. Error in namespace name: {:?}", + panic!( + "'/' is not allowed in namespaces. Error in namespace '{}'", this - )); + ); } let mut name = String::new();