diff options
author | Yashasvi Chaudhary <writetoyshv@gmail.com> | 2024-04-02 15:55:06 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 10:25:06 +0000 |
commit | f613159cbadc57aa79a2bc9925514feab0c61b36 (patch) | |
tree | 560bfd569071d21021af831826c20d47e467eae9 /components/script/dom | |
parent | 2a517f786bad16a8e5d6e3d1f427a27285e034db (diff) | |
download | servo-f613159cbadc57aa79a2bc9925514feab0c61b36.tar.gz servo-f613159cbadc57aa79a2bc9925514feab0c61b36.zip |
clippy:partialeq_to_none (#31972)
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/windowproxy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/windowproxy.rs b/components/script/dom/windowproxy.rs index 905368d0263..a8c32bb11a9 100644 --- a/components/script/dom/windowproxy.rs +++ b/components/script/dom/windowproxy.rs @@ -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(); |