clippy:partialeq_to_none (#31972)

This commit is contained in:
Yashasvi Chaudhary 2024-04-02 15:55:06 +05:30 committed by GitHub
parent 2a517f786b
commit f613159cba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -766,7 +766,7 @@ fn tokenize_open_features(features: DOMString) -> IndexMap<String, String> {
let mut cur = iter.next();
// Step 3
while cur != None {
while cur.is_some() {
// Step 3.1 & 3.2
let mut name = String::new();
let mut value = String::new();