Syntax struct was from an earlier thing and is no longer needed

master
rasul 5 years ago
parent 96f22159be
commit f115e72dad

@ -1,5 +1,3 @@
use std::fmt;
use lazy_static::lazy_static; use lazy_static::lazy_static;
use syntect::parsing::SyntaxSet; use syntect::parsing::SyntaxSet;
@ -19,15 +17,3 @@ lazy_static! {
syntaxes 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)
}
}

Loading…
Cancel
Save