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
But adding footnotes as described in the rustdoc documentation gives a false positive:
$ git describev0.13.1
$ echo'//! This is an example of a footnote[^note].'> test.rs
$ cargo run --quiet -- check test.rserror: spellcheck(Hunspell) --> /home/aatif/sources/cargo-spellcheck/test.rs:1 | 1 | This is an example of a footnote[^note]. | ^^^^^^^^ | - footnote note, footnote-note, footnote, or tenderfoot | | Possible spelling mistake found.
I have to add spacing before the [^1] to workaround this, but this affects the markup, which I don't think is right.
Sounds like a bug in the markdown parser? It should pass footnote, not footnote[^note] to hunspell
Rustdoc supports footnotes1
But adding footnotes as described in the rustdoc documentation gives a false positive:
I have to add spacing before the
[^1]
to workaround this, but this affects the markup, which I don't think is right.Sounds like a bug in the markdown parser? It should pass
footnote
, notfootnote[^note]
to hunspellFootnotes
https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html#footnotes ↩
The text was updated successfully, but these errors were encountered: