Remove unused method

This commit is contained in:
Tobie Morgan Hitchcock 2022-01-20 23:03:28 +00:00
parent 63747612e3
commit 722f156b7d

View file

@ -37,12 +37,6 @@ use std::time::Duration;
#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize, Deserialize)]
pub struct Statements(pub Vec<Statement>);
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::<Vec<_>>().join("\n"))