Skip to content

Commit 0d2e4ae

Browse files
committed
fix clippy
1 parent 6993e5c commit 0d2e4ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ fn resolve_mln_core(root: &Path) -> (PathBuf, Vec<PathBuf>) {
173173
"The MLN library at {} must be a file. When building locally on Linux it is called libmbgl-core.a",
174174
library_file.display()
175175
);
176-
if let Some(_) = env::var_os("MLN_CORE_LIBRARY_HEADERS_PATH") {
176+
if env::var_os("MLN_CORE_LIBRARY_HEADERS_PATH").is_some() {
177177
assert!(
178178
headers.is_file(),
179179
"The MLN headers at {} must be a gzip (tar.gz) file containing the headers. When building locally checkout <maplibre-native repository>/.github/workflows/core-release.yml commands how to create the header archive",

0 commit comments

Comments
 (0)