mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Merge pull request #1343 from ryanhc/removing_to_owned
removing unnecessary to_owned
This commit is contained in:
commit
e8da737322
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