about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2025-05-21 14:59:21 +0300
committerChayim Refael Friedman <chayimfr@gmail.com>2025-06-12 08:50:43 +0300
commitc09ac193652df29b86e4ccee64978514b6e07ceb (patch)
tree72e0f465de55f616ff078ce6ecbc05dafe25efa3
parentbb5f1bfa139b3538042c56cc1fdc6e87388d470c (diff)
downloadrust-c09ac193652df29b86e4ccee64978514b6e07ceb.tar.gz
rust-c09ac193652df29b86e4ccee64978514b6e07ceb.zip
Ignore ast id hashes in typos check
-rw-r--r--src/tools/rust-analyzer/.typos.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/.typos.toml b/src/tools/rust-analyzer/.typos.toml
index e938bddd4b1..cdbc003a808 100644
--- a/src/tools/rust-analyzer/.typos.toml
+++ b/src/tools/rust-analyzer/.typos.toml
@@ -18,6 +18,7 @@ extend-ignore-re = [
     "INOUT",
     "optin",
     "=Pn",
+    "\\[[0-9A-F]{4},",  # AstId hex hashes
     # ignore `// spellchecker:off` until `// spellchecker:on`
     "(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
 ]