fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass

This commit is contained in:
damocles 2026-06-05 15:59:45 +02:00 committed by mara
commit fb726197ea
28 changed files with 109 additions and 90 deletions

View file

@ -118,11 +118,11 @@ fn read_harness_flags(name: &str) -> (bool, bool) {
{
let rl = v
.get("rate_limited")
.and_then(|x| x.as_bool())
.and_then(serde_json::Value::as_bool)
.unwrap_or(false);
let nl = v
.get("needs_login")
.and_then(|x| x.as_bool())
.and_then(serde_json::Value::as_bool)
.unwrap_or(false);
return (rl, nl);
}