aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/script/dom/windowproxy.rs2
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();