Skip to content

Commit

Permalink
cargo lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mxfactorial committed Oct 14, 2023
1 parent 3b78579 commit cef35b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/pg/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ mod tests {
}
}

pub type DynConnPool = Arc<dyn DBConnPoolTrait + Send + Sync + 'static >;
pub type DynConnPool = Arc<dyn DBConnPoolTrait + Send + Sync + 'static>;

pub type DynDBConn = Arc<dyn DBConnTrait + Send + Sync + 'static >;
pub type DynDBConn = Arc<dyn DBConnTrait + Send + Sync + 'static>;

#[async_trait]
pub trait DBConnPoolTrait {
Expand Down Expand Up @@ -112,7 +112,7 @@ impl AccountStore for DatabaseConnection {
&params[..],
)
.await;

match rows {
Err(rows) => Err(Box::new(rows)),
Ok(rows) => {
Expand Down

0 comments on commit cef35b9

Please sign in to comment.