From c8e16d7f7db3941ac74587a68bf89532e1186b79 Mon Sep 17 00:00:00 2001 From: dracarys18 Date: Fri, 1 Dec 2023 18:12:59 +0530 Subject: [PATCH] fix: remove unnecessary display impl --- crates/diesel_models/src/kv.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/crates/diesel_models/src/kv.rs b/crates/diesel_models/src/kv.rs index a5146c3e62a3..dd12a916c90f 100644 --- a/crates/diesel_models/src/kv.rs +++ b/crates/diesel_models/src/kv.rs @@ -19,16 +19,6 @@ pub enum DBOperation { Delete, } -impl std::fmt::Display for DBOperation { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - match self { - DBOperation::Insert { .. } => f.write_str("Insert"), - DBOperation::Update { .. } => f.write_str("Update"), - DBOperation::Delete => f.write_str("Delete"), - } - } -} - #[derive(Debug, Serialize, Deserialize)] pub struct TypedSql { #[serde(flatten)]