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
error: spellcheck(Hunspell)
--> rust/library/std/src/path.rs:2685
|
2685 | The iterator will yield instances of <code>[io::Result]<[fs::DirEntry]></code>. New
| ^^
| - oi, Io, oo, ii, ion, bio, Rio, or one of 7 others
|
| Possible spelling mistake found.
This is not a mistake, <code> does exactly the same thing as backticks but with HTML tags instead. Libstd uses them to allow nesting HTML tags, or occasionally because rustdoc renders adjacent inline code blocks poorly.
To Reproduce:
A file containing
<code>std::io</code>
Run cargo spellcheck ...
...
Expected behavior
Screenshots
Please complete the following information:
System:
Obtained:
Version:
Additional context
The text was updated successfully, but these errors were encountered:
This also looks like a bug, it doesn't recognize HTML entities.
error: spellcheck(Hunspell)
--> rust/library/std/src/path.rs:1609
|
1609 | Converts a <code>[Box]<[Path]></code> into a [`PathBuf`].
| ^
| Possible spelling mistake found
Describe the bug
rust-lang/rust#74697 (comment)
This is not a mistake,
<code>
does exactly the same thing as backticks but with HTML tags instead. Libstd uses them to allow nesting HTML tags, or occasionally because rustdoc renders adjacent inline code blocks poorly.To Reproduce:
cargo spellcheck ...
Expected behavior
Screenshots
Please complete the following information:
Additional context
The text was updated successfully, but these errors were encountered: