Fix deprecation warnings

This commit is contained in:
Simon Sapin 2015-07-24 22:16:35 +02:00
parent 903a608c6a
commit a3c0366bd6
7 changed files with 15 additions and 15 deletions

View file

@ -1432,7 +1432,7 @@ impl<'a> DocumentMethods for &'a Document {
Some(ref title) => {
// Steps 3-4.
let value = Node::collect_text_contents(title.r().children());
split_html_space_chars(&value).collect::<Vec<_>>().connect(" ")
split_html_space_chars(&value).collect::<Vec<_>>().join(" ")
},
}
}