mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy:partialeq_to_none (#31972)
This commit is contained in:
parent
2a517f786b
commit
f613159cba
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue