run 'cargo fmt' command

This commit is contained in:
wyhaya
2019-12-04 16:59:05 +08:00
parent d424098fdf
commit e81d6de355

View File

@@ -114,7 +114,9 @@ impl Host {
}
fn is_wildcard(domain: &str) -> bool {
domain.chars().all(|item| WILDCARD.chars().any(|c| item == c))
domain
.chars()
.all(|item| WILDCARD.chars().any(|c| item == c))
}
pub fn is_match(&self, domain: &str) -> bool {