From 84e041d740fbe2388b7cae8a561e8754979a4a3a Mon Sep 17 00:00:00 2001 From: Thom Chiovoloni Date: Sun, 6 Dec 2020 02:05:48 -0800 Subject: [PATCH] cargo clippy --- imgui-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui-sys/build.rs b/imgui-sys/build.rs index e8f4a0b..efab486 100644 --- a/imgui-sys/build.rs +++ b/imgui-sys/build.rs @@ -33,7 +33,7 @@ fn main() -> io::Result<()> { for (key, value) in DEFINES.iter() { println!("cargo:DEFINE_{}={}", key, value.unwrap_or("")); } - if !std::env::var_os("CARGO_FEATURE_WASM").is_some() { + if std::env::var_os("CARGO_FEATURE_WASM").is_none() { // Check submodule status. (Anything else should be a compile error in // the C code). assert_file_exists("third-party/cimgui.cpp")?;