aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/cookie.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/cookie.rs')
-rw-r--r--components/net/cookie.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/net/cookie.rs b/components/net/cookie.rs
index 34d327673f3..3d2cf61fab3 100644
--- a/components/net/cookie.rs
+++ b/components/net/cookie.rs
@@ -206,6 +206,7 @@ impl ServoCookie {
// 3. The cookie-attribute-list contains an attribute with an attribute-name of "Path",
// and the cookie's path is /.
+ #[allow(clippy::nonminimal_bool)]
if !has_path_specified || !cookie.path().is_some_and(|path| path == "/") {
return None;
}