From 76c004bd86cc27d9e5e8d61cda245cf17aa1214e Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Sun, 25 Feb 2024 20:26:12 -0500 Subject: [PATCH] clippage --- src/common.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common.rs b/src/common.rs index dfeabe0..665210d 100644 --- a/src/common.rs +++ b/src/common.rs @@ -156,9 +156,6 @@ mod tests { ); let perm = "security-events: write"; - assert!(matches!( - serde_yaml::from_str::(perm), - Ok(_) - )); + assert!(serde_yaml::from_str::(perm).is_ok()); } }