Skip to content

Commit 8d7894c

Browse files
authored
fix(css/ast): Make .hash() of Token not recursive (#8151)
1 parent 5dacaa1 commit 8d7894c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/swc_css_ast/src/token.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,7 @@ impl Hash for Token {
264264
| Token::LParen
265265
| Token::RParen
266266
| Token::LBrace
267-
| Token::RBrace => {
268-
self.hash(state);
269-
}
267+
| Token::RBrace => {}
270268
}
271269
}
272270
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy