fix: silence collapsible_match clippy lint (rustc 1.95)

Made-with: Cursor
This commit is contained in:
Syed Hashmi 2026-04-21 13:29:55 -07:00
parent 0cd370d014
commit bb4ddaa7f2
5 changed files with 21 additions and 29 deletions

View file

@ -441,10 +441,8 @@ impl ArchFunctionHandler {
}
}
// Handle str/string conversions
"str" | "string" => {
if !value.is_string() {
return Ok(json!(value.to_string()));
}
"str" | "string" if !value.is_string() => {
return Ok(json!(value.to_string()));
}
_ => {}
}