Skip to content

/, _, ., etc before or after natively ignored item (guid, hash, etc) causes it to be spell checked #481

@repi

Description

@repi

In part of our code base we had a set of comments referencing text from a backtrace, with lines like this that triggers as typos with this tool:

error: `ba` should be `by`, `be`
  --> ./src/panic.rs:94:45
   |
94 |     ///                 at /rustc/c7087fe00d2ba919df1d813c040a5d47e43b0fe7\/src\libstd\rt.rs:51

the same long hexadecimal number by itself in a comment doesn't trigger though (probably thanks to the fix for #326).

///  testing:  c7087fe00d2ba919df1d813c040a5d47e43b0fe7

Is there, or should there be, some specific detection of paths so it doesn't spellcheck the path itself or does detect that one directory here was really a long hexadecimal number and should be treated just as a separate hexadecimal number is?

Metadata

Metadata

Assignees

Labels

C-bugCategory: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions