From f115e72dad6cc6fa75ee4d22931e84360083a5bc Mon Sep 17 00:00:00 2001 From: rasul Date: Sat, 1 Feb 2020 15:18:54 -0600 Subject: [PATCH] Syntax struct was from an earlier thing and is no longer needed --- src/syntax.rs | 14 -------------- 1 file changed, 14 deletions(-) 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) - } -}