Remove debug statements

This commit is contained in:
Isaac Clayton 2022-07-08 21:28:35 +02:00
parent 3e8b230567
commit 8931218dc6
7 changed files with 6 additions and 22 deletions

View file

@ -394,14 +394,11 @@ impl LanguageRegistry {
.read()
.iter()
.find(|language| {
language.config.path_suffixes.iter().any(|suffix| {
if path_suffixes.contains(&Some(suffix.as_str())) {
dbg!(format!("found {}", suffix));
true
} else {
false
}
})
language
.config
.path_suffixes
.iter()
.any(|suffix| path_suffixes.contains(&Some(suffix.as_str())))
})
.cloned()
}