diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-07-31 11:20:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-31 11:20:43 -0400 |
commit | 174bcc443435100da31b20db5ab684f4f3c8255b (patch) | |
tree | cb22eaf3b552b3fac4bd06b70e42fbf3d30e369c /components/script/dom/nodelist.rs | |
parent | 87e7e3d429f2122ffa9ef016ba5659a3b21be91b (diff) | |
parent | c38c964f1b1d2614f50863be0b896e1700b5fea8 (diff) | |
download | servo-174bcc443435100da31b20db5ab684f4f3c8255b.tar.gz servo-174bcc443435100da31b20db5ab684f4f3c8255b.zip |
Auto merge of #23870 - servo:rustup, r=nox
Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30)
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23870)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/nodelist.rs')
-rw-r--r-- | components/script/dom/nodelist.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/nodelist.rs b/components/script/dom/nodelist.rs index 248984746db..82fd3be59d6 100644 --- a/components/script/dom/nodelist.rs +++ b/components/script/dom/nodelist.rs @@ -132,7 +132,7 @@ impl ChildrenList { let last_visited = node.GetFirstChild(); ChildrenList { node: Dom::from_ref(node), - last_visited: MutNullableDom::new(last_visited.deref()), + last_visited: MutNullableDom::new(last_visited.as_deref()), last_index: Cell::new(0u32), } } @@ -315,7 +315,7 @@ impl ChildrenList { } fn reset(&self) { - self.last_visited.set(self.node.GetFirstChild().deref()); + self.last_visited.set(self.node.GetFirstChild().as_deref()); self.last_index.set(0u32); } } |