From cef35b98e8acf733ebc9316394a86f6e841305e8 Mon Sep 17 00:00:00 2001 From: max funk Date: Sat, 14 Oct 2023 11:10:53 -0700 Subject: [PATCH] cargo lint --- crates/pg/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/pg/src/lib.rs b/crates/pg/src/lib.rs index bceb03e9..5dd404f5 100644 --- a/crates/pg/src/lib.rs +++ b/crates/pg/src/lib.rs @@ -65,9 +65,9 @@ mod tests { } } -pub type DynConnPool = Arc; +pub type DynConnPool = Arc; -pub type DynDBConn = Arc; +pub type DynDBConn = Arc; #[async_trait] pub trait DBConnPoolTrait { @@ -112,7 +112,7 @@ impl AccountStore for DatabaseConnection { ¶ms[..], ) .await; - + match rows { Err(rows) => Err(Box::new(rows)), Ok(rows) => {