diff --git a/src/syntax.rs b/src/syntax.rs index ae19bc9..04cdb40 100644 --- a/src/syntax.rs +++ b/src/syntax.rs @@ -1,5 +1,3 @@ -use std::fmt; - use lazy_static::lazy_static; use syntect::parsing::SyntaxSet; @@ -19,15 +17,3 @@ lazy_static! { syntaxes }; } - -#[derive(Debug)] -pub struct Syntax { - pub name: String, - pub ext: String, -} - -impl fmt::Display for Syntax { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - write!(f, "{}", self.name) - } -}