mirror of
https://github.com/servo/servo.git
synced 2025-06-20 15:18:58 +01:00
Trait changes, and eliminate 'copy'
This commit is contained in:
parent
907d9f23cf
commit
ffe60ea027
30 changed files with 111 additions and 100 deletions
|
@ -23,7 +23,7 @@ impl CharacterData {
|
|||
}
|
||||
|
||||
pub fn Data(&self) -> DOMString {
|
||||
copy self.data
|
||||
self.data.clone()
|
||||
}
|
||||
|
||||
pub fn SetData(&mut self, arg: &DOMString, _rv: &mut ErrorResult) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue