mirror of
https://github.com/swc-project/swc.git
synced 2024-11-27 13:38:33 +03:00
fix(css/ast): Make .hash()
of Token
not recursive (#8151)
This commit is contained in:
parent
5dacaa174b
commit
8d7894c71f
@ -264,9 +264,7 @@ impl Hash for Token {
|
||||
| Token::LParen
|
||||
| Token::RParen
|
||||
| Token::LBrace
|
||||
| Token::RBrace => {
|
||||
self.hash(state);
|
||||
}
|
||||
| Token::RBrace => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user