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 {
|
fn compute_path(ns: &[String], this: String) -> String {
|
||||||
if this.chars().any(|a| a == '/') {
|
if this.chars().any(|a| a == '/') {
|
||||||
panic!(format!(
|
panic!(
|
||||||
"'/' is not allowed in namespace names. Error in namespace name: {:?}",
|
"'/' is not allowed in namespaces. Error in namespace '{}'",
|
||||||
this
|
this
|
||||||
));
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut name = String::new();
|
let mut name = String::new();
|
||||||
|
|||||||
Reference in New Issue
Block a user