aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/attr.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/script/dom/attr.rs b/components/script/dom/attr.rs
index cd1a98ad799..e2e8b79f9af 100644
--- a/components/script/dom/attr.rs
+++ b/components/script/dom/attr.rs
@@ -255,7 +255,6 @@ impl<'dom> AttrHelpersForLayout<'dom> for LayoutDom<'dom, Attr> {
#[inline]
fn as_tokens(self) -> Option<&'dom [Atom]> {
- // This transmute is used to cheat the lifetime restriction.
match *self.value() {
AttrValue::TokenList(_, ref tokens) => Some(tokens),
_ => None,