From 2320ca838d22a19e0c50f826232553f2ee1e3041 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 4 Feb 2024 12:37:20 +0000 Subject: [PATCH] Change !...is_some to is_none --- src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index effb98c..8b8e35f 100644 --- a/src/client.rs +++ b/src/client.rs @@ -746,7 +746,7 @@ impl Client { let mut ac = ac.clone(); // Don't overwrite a cached account with a 'source' to one // without. - if !ac.source.is_some() { + if ac.source.is_none() { if let Some(source) = self.accounts.get(&ac.id).and_then(|ac| ac.source.as_ref()) { -- 2.30.2