From 92e369beab7be92dfb9da838680bdf0a051898bc Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 29 Jul 2023 18:42:14 +0100 Subject: [PATCH] clippy fixes --- src/history/find.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/history/find.rs b/src/history/find.rs index c1dd584..4171eb2 100644 --- a/src/history/find.rs +++ b/src/history/find.rs @@ -41,7 +41,7 @@ mod test { //then drop(dir); - assert_eq!(result, true); + assert!(result); Ok(()) } @@ -66,7 +66,7 @@ mod test { //then drop(dir); - assert_eq!(result, false); + assert!(!result); Ok(()) } @@ -93,7 +93,7 @@ mod test { //then drop(dir); - assert_eq!(result, false); + assert!(!result); Ok(()) }