aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/attr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/attr.rs')
-rw-r--r--components/script/dom/attr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/attr.rs b/components/script/dom/attr.rs
index 03feb23fbae..0096942ba9a 100644
--- a/components/script/dom/attr.rs
+++ b/components/script/dom/attr.rs
@@ -255,7 +255,7 @@ impl<'dom> AttrHelpersForLayout<'dom> for LayoutDom<'dom, Attr> {
#[inline]
fn as_str(self) -> &'dom str {
- &**self.value()
+ self.value()
}
#[inline]