mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Do not export syntax_set and theme_set
This commit is contained in:
1 parent
fc1ca0875a
commit
62f2d0c100
3 files changed
+12
-5
No files matched your search
@@ -23,7 +23,7 @@ fn no_duplicate_extensions() {
|
||||
|
||||
let mut extensions = HashSet::new();
|
||||
|
||||
for syntax in assets.syntax_set.syntaxes() {
|
||||
for syntax in assets.syntaxes() {
|
||||
for extension in &syntax.file_extensions {
|
||||
assert!(
|
||||
KNOWN_EXCEPTIONS.contains(&extension.as_str()) || extensions.insert(extension),
|
||||
|
||||
Reference in new issue
Block a user