fix(proof): keep modular verifier compatible with Rust 1.81
This commit is contained in:
1 parent
25833895db
commit
da0fc6a188
1 file changed
+1
-1
@@ -48,7 +48,7 @@ pub fn analyze(semantic:&SemanticProject, proof_index:&Value)->Value{
|
||||
let verified=matched.is_some_and(|r|r["status"]=="proved"
|
||||
&& r["usable"]==true);
|
||||
let unconditional=c.premise.as_deref()
|
||||
.is_none_or(|s|s.trim().is_empty());
|
||||
.map_or(true,|s|s.trim().is_empty());
|
||||
json!({
|
||||
"claim_anchor_id":c.anchor_id,
|
||||
"premise":c.premise,
|
||||
|
||||
Reference in new issue
Block a user