From 008b824cc5e02d301a0a5e8a88f98bc5e7b4c7f8 Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Thu, 17 Jun 2021 15:21:13 -0700 Subject: [PATCH] Fixed clippy defect --- examples/env_locations/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/env_locations/main.rs b/examples/env_locations/main.rs index ef84add6d2..3b07b1dc9a 100644 --- a/examples/env_locations/main.rs +++ b/examples/env_locations/main.rs @@ -8,5 +8,5 @@ fn test() { let generated_data2 = include_str!(env!("GENERATED_DATA_ABS")); assert_eq!(generated_data, generated_data2); // and we should be able to read (and thus execute) our tool - assert_eq!(std::fs::read(env!("SOME_TOOL")).unwrap().is_empty(), false); + assert!(!std::fs::read(env!("SOME_TOOL")).unwrap().is_empty()); }