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()
|
dir_entry.file_type().is_file()
|
||||||
&& Path::new(dir_entry.file_name())
|
&& Path::new(dir_entry.file_name())
|
||||||
.extension()
|
.extension()
|
||||||
.map(|ext| ext.to_ascii_lowercase() == "org")
|
.map(|ext| ext.eq_ignore_ascii_case("org"))
|
||||||
.unwrap_or(false)
|
.unwrap_or(false)
|
||||||
}
|
}
|
||||||
Err(_) => true,
|
Err(_) => true,
|
||||||
|
Loading…
Reference in New Issue
Block a user