Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillFish8 committed Jun 4, 2021
1 parent b4a17b1 commit 12cf635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backends/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ use anyhow::Result;
use async_trait::async_trait;
use bytes::BytesMut;
use chrono::Utc;
use log::error;
use log::{debug, info};
use serde::Deserialize;
use serde_variant::to_variant_name;
use std::str::FromStr;
use uuid::Uuid;
use log::error;

use sqlx::mysql::{MySqlPool, MySqlPoolOptions};
use sqlx::postgres::{PgPool, PgPoolOptions};
Expand Down Expand Up @@ -74,7 +74,7 @@ macro_rules! extract_or_none {
let row = row?;
let data: &[u8] = row.get($c);
Some(BytesMut::from(data))
},
}
Err(e) => {
error!("failed to fetch row due to error: {:?}", e);
None
Expand Down

0 comments on commit 12cf635

Please sign in to comment.