mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Remove an obsolete comment
This commit is contained in:
parent
6fe294fa5b
commit
fb1ff3f097
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue