From d9e8fc33522ebcb9e0f92377b29b34619f505c7f Mon Sep 17 00:00:00 2001 From: Trezy Date: Wed, 29 Apr 2026 17:18:38 -0500 Subject: [PATCH] fix: linting error --- src/record_refs.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/record_refs.rs b/src/record_refs.rs index 0a39527..cbf9d52 100644 --- a/src/record_refs.rs +++ b/src/record_refs.rs @@ -11,10 +11,8 @@ pub fn extract_at_uris(value: &Value) -> HashSet { fn collect_at_uris(value: &Value, uris: &mut HashSet) { match value { - Value::String(s) => { - if s.starts_with("at://") { - uris.insert(s.clone()); - } + Value::String(s) if s.starts_with("at://") => { + uris.insert(s.clone()); } Value::Array(arr) => { for item in arr { -- 2.51.2