Fix some warnings in script.

This commit is contained in:
Ms2ger 2015-02-12 20:01:38 +01:00
parent fab8092581
commit e921ce859e
12 changed files with 29 additions and 18 deletions

View file

@ -1663,7 +1663,7 @@ impl Node {
}
}
pub fn collect_text_contents<'a, T: Iterator<Item=JSRef<'a, Node>>>(mut iterator: T) -> String {
pub fn collect_text_contents<'a, T: Iterator<Item=JSRef<'a, Node>>>(iterator: T) -> String {
let mut content = String::new();
for node in iterator {
let text: Option<JSRef<Text>> = TextCast::to_ref(node);