From 722f156b7d4f232c676a1332982c51a245ad6d72 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 20 Jan 2022 23:03:28 +0000 Subject: [PATCH] Remove unused method --- src/sql/statement.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/sql/statement.rs b/src/sql/statement.rs index 2f7fb059..f568db51 100644 --- a/src/sql/statement.rs +++ b/src/sql/statement.rs @@ -37,12 +37,6 @@ use std::time::Duration; #[derive(Clone, Debug, Default, Eq, PartialEq, Serialize, Deserialize)] pub struct Statements(pub Vec); -impl Statements { - pub fn len(&self) -> usize { - self.0.len() - } -} - impl fmt::Display for Statements { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{}", self.0.iter().map(|ref v| format!("{};", v)).collect::>().join("\n"))