mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-10 16:01:28 +01:00
Fix no-std compilation
This commit is contained in:
@@ -132,10 +132,10 @@ impl<ConstraintF: Field> TestConstraintSystem<ConstraintF> {
|
||||
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user