Remove unused method
This commit is contained in:
parent
63747612e3
commit
722f156b7d
1 changed files with 0 additions and 6 deletions
|
@ -37,12 +37,6 @@ use std::time::Duration;
|
||||||
#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize, Deserialize)]
|
#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize, Deserialize)]
|
||||||
pub struct Statements(pub Vec<Statement>);
|
pub struct Statements(pub Vec<Statement>);
|
||||||
|
|
||||||
impl Statements {
|
|
||||||
pub fn len(&self) -> usize {
|
|
||||||
self.0.len()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl fmt::Display for Statements {
|
impl fmt::Display for Statements {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
write!(f, "{}", self.0.iter().map(|ref v| format!("{};", v)).collect::<Vec<_>>().join("\n"))
|
write!(f, "{}", self.0.iter().map(|ref v| format!("{};", v)).collect::<Vec<_>>().join("\n"))
|
||||||
|
|
Loading…
Reference in a new issue