diff options
| author | Mica White <botahamec@outlook.com> | 2025-12-07 21:24:18 -0500 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2025-12-07 21:25:34 -0500 |
| commit | 56ea63502be5ae1ec03d82e98f25217c1224a339 (patch) | |
| tree | db11b7781046d4b2f443147251319acaac272f86 /src/main.rs | |
| parent | c04c581fdeb0e42c5e41bb372b827a5b3ac033fb (diff) | |
clippy --fix
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 11 |
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(); |
