aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlserializer.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-02-11 17:24:45 -0700
committerbors-servo <metajack+bors@gmail.com>2015-02-11 17:24:45 -0700
commit2cc08f289ab909de44fa09a07b2c43b70ce379b9 (patch)
tree0c243afe9d7d82695d16bd43d72e88600e4414ef /components/script/dom/htmlserializer.rs
parentbc6882bdefc318402a46ede1494eb79339705c21 (diff)
parentd5dd1d658e5d79701fb9d028479a0fcb26a033fa (diff)
downloadservo-2cc08f289ab909de44fa09a07b2c43b70ce379b9.tar.gz
servo-2cc08f289ab909de44fa09a07b2c43b70ce379b9.zip
auto merge of #4893 : servo/servo/rustup_2015-01-31, r=Ms2ger,glennw
Ready for review. Final link step on android fails, but we know how to fix it and will add it to this branch soon.
Diffstat (limited to 'components/script/dom/htmlserializer.rs')
-rw-r--r--components/script/dom/htmlserializer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlserializer.rs b/components/script/dom/htmlserializer.rs
index a0ab5b82d03..7d0cc77387c 100644
--- a/components/script/dom/htmlserializer.rs
+++ b/components/script/dom/htmlserializer.rs
@@ -22,7 +22,7 @@ pub fn serialize(iterator: &mut NodeIterator) -> String {
let mut html = String::new();
let mut open_elements: Vec<String> = vec!();
let depth = iterator.depth;
- for node in *iterator {
+ for node in iterator {
while open_elements.len() > depth {
html.push_str("</");
html.push_str(open_elements.pop().unwrap().as_slice());