diff options
author | janczer <menshikov.ivn@gmail.com> | 2018-02-07 09:18:59 +0100 |
---|---|---|
committer | janczer <menshikov.ivn@gmail.com> | 2018-02-07 09:21:24 +0100 |
commit | 661d234c3c8662423ee12e248c30e7d0e1dae78a (patch) | |
tree | 1cb6afe425e354b848ae96d0cc4b64847b7b6361 /components/script/dom/node.rs | |
parent | 2cf0077be130cec4499d8e3df6e09c340022b67f (diff) | |
download | servo-661d234c3c8662423ee12e248c30e7d0e1dae78a.tar.gz servo-661d234c3c8662423ee12e248c30e7d0e1dae78a.zip |
Change debug assertions to specific ones
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r-- | components/script/dom/node.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index 68e6f63e168..ce97cb1ee4b 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -1334,7 +1334,7 @@ impl TreeIterator { } self.depth -= 1; } - debug_assert!(self.depth == 0); + debug_assert_eq!(self.depth, 0); self.current = None; Some(current) } |