From b74491a476dd70b5deab2fb945fc181cb01f9d55 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Mon, 11 Jul 2022 23:58:14 +0800 Subject: [PATCH] [issues] [cli] cargo fmt --- src/executor/query.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/executor/query.rs b/src/executor/query.rs index bddb6db5..06361a45 100644 --- a/src/executor/query.rs +++ b/src/executor/query.rs @@ -40,9 +40,9 @@ impl From for DbErr { fn from(e: TryGetError) -> DbErr { match e { TryGetError::DbErr(e) => e, - TryGetError::Null(s) => DbErr::Query( - format!("error occurred while decoding {}: Null", s) - ), + TryGetError::Null(s) => { + DbErr::Query(format!("error occurred while decoding {}: Null", s)) + } } } } @@ -822,7 +822,7 @@ try_from_u64_err!(uuid::Uuid); #[cfg(test)] mod tests { - use super::{TryGetError}; + use super::TryGetError; use crate::error::DbErr; #[test]