Browse Source

Fix no-std compilation

master
Pratyush Mishra 4 years ago
parent
commit
40e89254e0
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      r1cs-std/src/test_constraint_system.rs

+ 3
- 3
r1cs-std/src/test_constraint_system.rs

@ -132,10 +132,10 @@ impl TestConstraintSystem {
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();

Loading…
Cancel
Save