Remove some into_owned calls.

This commit is contained in:
Ms2ger 2014-06-28 17:07:47 +02:00
parent 9f915e9e42
commit 924031135e
4 changed files with 4 additions and 4 deletions

View file

@ -62,7 +62,7 @@ pub fn serialize(iterator: &mut NodeIterator) -> String {
html.push_str(open_elements.pop().unwrap().as_slice());
html.push_str(">");
}
html.into_owned()
html
}
fn serialize_comment(comment: &JSRef<Comment>, html: &mut String) {