fix(css/ast): Make .hash() of Token not recursive (#8151)

This commit is contained in:
pshu 2023-10-19 12:10:48 -05:00 committed by GitHub
parent 5dacaa174b
commit 8d7894c71f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,9 +264,7 @@ impl Hash for Token {
| Token::LParen
| Token::RParen
| Token::LBrace
| Token::RBrace => {
self.hash(state);
}
| Token::RBrace => {}
}
}
}