Skip to content

Commit 8a92827

Browse files
committed
Fix warning on symetrical boolean nonminimal bool
1 parent 3d61dc7 commit 8a92827

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/security/cors.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ mod test {
462462
}
463463

464464
#[test]
465+
#[allow(clippy::nonminimal_bool)]
465466
fn symetrical() {
466467
let regex = Regex::new(r"e[xzs]a.*le.com*").unwrap();
467468
let x = Origin::from(regex.clone());

0 commit comments

Comments
 (0)