summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs
index 596c073..cca25e5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,14 +1,9 @@
use std::io::Read;
-use std::path::{Path, PathBuf};
+use std::path::PathBuf;
use syntect::highlighting::ThemeSet;
-use syntect::html::{
- css_for_theme_with_class_style, highlighted_html_for_string, line_tokens_to_classed_spans,
- ClassStyle,
-};
-use syntect::parsing::{ScopeStack, SyntaxSet};
-
-const CLASS_STYLE: ClassStyle = ClassStyle::Spaced;
+use syntect::html::highlighted_html_for_string;
+use syntect::parsing::SyntaxSet;
fn main() {
let syntax_set = SyntaxSet::load_defaults_newlines();