Closed
Description
I tried this code:
#[doc = " Some text"]
#[doc = " that should"]
/// be concatenated.
pub fn main() {
println!("Hello, world!");
}
I expected to see this happen: The entire first paragraph is used as the summary for the function in the module docs: "Some text that should be concatenated"
Instead, this happened: Only the unsugared doc attributes are used: "Some text that should"
Meta
rustc --version --verbose
:
rustc 1.54.0-nightly (4e3e6db01 2021-05-18)
binary: rustc
commit-hash: 4e3e6db011c5b482d2bef8ba02274657f93b5e0d
commit-date: 2021-05-18
host: x86_64-unknown-linux-gnu
release: 1.54.0-nightly
LLVM version: 12.0.1