You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use ahash to improve HashMap performance. ast-grep does not need cryptographically good hash.
💻 Use Cases
Use this rule to find potential usages worth refactoring.
id: replace-hashmessage: use ahash?severity: infolanguage: Rustrule:
pattern: use std::collections::HashMap;not:
inside:
stopBy: endpattern: mod test { $$$ }
The text was updated successfully, but these errors were encountered:
⭐ Suggestion
We can use ahash to improve HashMap performance. ast-grep does not need cryptographically good hash.
💻 Use Cases
Use this rule to find potential usages worth refactoring.
The text was updated successfully, but these errors were encountered: