mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Fix some warnings in script.
This commit is contained in:
parent
fab8092581
commit
e921ce859e
12 changed files with 29 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue