removing unnecessary to_owned

This commit is contained in:
Ryan Choi 2013-12-06 17:50:26 +09:00
parent 91fcc6703b
commit ecd44fe9a8

View file

@ -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 {