Fix clippy lint.
This commit is contained in:
parent
d2c558ccfa
commit
4b52ed0d2a
2
build.rs
2
build.rs
@ -26,7 +26,7 @@ fn main() {
|
||||
dir_entry.file_type().is_file()
|
||||
&& Path::new(dir_entry.file_name())
|
||||
.extension()
|
||||
.map(|ext| ext.to_ascii_lowercase() == "org")
|
||||
.map(|ext| ext.eq_ignore_ascii_case("org"))
|
||||
.unwrap_or(false)
|
||||
}
|
||||
Err(_) => true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user