mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update for language changes
This commit is contained in:
parent
a01f6b97f2
commit
56e5ba1b82
109 changed files with 1182 additions and 988 deletions
|
@ -7,7 +7,7 @@
|
|||
use dom::bindings::utils::{DOMString, null_string, str};
|
||||
use dom::node::{Node, NodeTypeId, ScriptView};
|
||||
|
||||
use core::str;
|
||||
use std::str;
|
||||
|
||||
pub struct CharacterData {
|
||||
parent: Node<ScriptView>,
|
||||
|
@ -46,7 +46,7 @@ impl CharacterData {
|
|||
|
||||
pub fn AppendData(&mut self, arg: DOMString) {
|
||||
let s = self.data.to_str();
|
||||
self.data = str(str::append(s, arg.to_str()));
|
||||
self.data = str(s.append(arg.to_str()));
|
||||
}
|
||||
|
||||
pub fn InsertData(&mut self, _offset: u32, _arg: DOMString) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue