From e6fef37d4e4eab72a7cdf5d741c6d290b3906bd6 Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Sun, 21 Aug 2022 09:10:19 -0700 Subject: [PATCH] chore: rustfmt --- src/db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db.rs b/src/db.rs index 3fc3459..e510605 100644 --- a/src/db.rs +++ b/src/db.rs @@ -474,7 +474,7 @@ fn query_from_filter(f: &ReqFilter) -> (String, Vec>) { let mut str_vals: Vec> = vec![]; let mut blob_vals: Vec> = vec![]; for v in val { - if (v.len()%2==0) && is_lower_hex(v) { + if (v.len() % 2 == 0) && is_lower_hex(v) { if let Ok(h) = hex::decode(&v) { blob_vals.push(Box::new(h)); } @@ -611,7 +611,7 @@ pub async fn db_query( "query completed ({} rows) in {:?} (cid={}, sub={:?})", row_count, start.elapsed(), - client_id, + client_id, sub.id ); } else {