mirror of
https://github.com/servo/servo.git
synced 2025-06-21 23:59:00 +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
|
@ -55,7 +55,7 @@ impl Event {
|
|||
}
|
||||
|
||||
pub fn Type(&self) -> DOMString {
|
||||
copy self.type_
|
||||
self.type_.clone()
|
||||
}
|
||||
|
||||
pub fn GetTarget(&self) -> Option<@mut EventTarget> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue