Merge pull request #1343 from ryanhc/removing_to_owned

removing unnecessary to_owned
This commit is contained in:
Lars Bergstrom 2013-12-06 05:01:06 -08:00
commit e8da737322

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 {