Open
Description
//! A
//!B
//! C
For the above Rust source code, rustdoc produces documentation containing only "A C". The line containing "B" is only a comment. The comment starts with https://www.compart.com/en/unicode/U+FF01.
I caught this in a real-world documentation PR from a Chinese contributor. See #134241 (review).
In GitHub, the distinction is practically invisible.
In my text editor, it is more obvious.
Would it be reasonable for rustc and/or rustdoc to have reported a lint on such code?