mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
removing unnecessary to_owned
This commit is contained in:
parent
91fcc6703b
commit
ecd44fe9a8
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ impl<'self> Element {
|
|||
|
||||
impl Element {
|
||||
pub fn TagName(&self) -> DOMString {
|
||||
self.tag_name.to_owned().to_ascii_upper()
|
||||
self.tag_name.to_ascii_upper()
|
||||
}
|
||||
|
||||
pub fn Id(&self, _abstract_self: AbstractNode<ScriptView>) -> DOMString {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue