mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix some no_move errors
This commit is contained in:
parent
63714ebc5f
commit
dcb0a0eab6
17 changed files with 46 additions and 34 deletions
|
@ -94,7 +94,7 @@ impl<'a> TextMethods for JSRef<'a, Text> {
|
|||
let nodes = first.r().inclusively_following_siblings().map(|node| node.root())
|
||||
.take_while(|node| node.r().is_text());
|
||||
let mut text = DOMString::new();
|
||||
for node in nodes {
|
||||
for ref node in nodes {
|
||||
let cdata = CharacterDataCast::to_ref(node.r()).unwrap();
|
||||
text.push_str(&cdata.data());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue