Remove unused trait implementations

This commit is contained in:
Patrick Lühne 2020-05-21 23:26:57 +02:00
parent a0fefe9b6a
commit 742379934f
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -36,22 +36,6 @@ impl std::fmt::Display for crate::FunctionDeclaration
} }
} }
impl std::fmt::Debug for crate::VariableDeclaration
{
fn fmt(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result
{
write!(formatter, "{}", &self.name)
}
}
impl std::fmt::Display for crate::VariableDeclaration
{
fn fmt(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result
{
write!(formatter, "{:?}", &self)
}
}
#[derive(Clone, Copy, Eq, PartialEq)] #[derive(Clone, Copy, Eq, PartialEq)]
pub(crate) enum TermPosition pub(crate) enum TermPosition
{ {