See the test added in #91199. This code:
#[doc = "Hello world!\n\n"]
/// Goodbye!
#[doc = " Hello again!\n"]
pub struct S1;
renders as:
Hello world! Goodbye! Hello again!
rather than the expected:
Hello world!
Goodbye! Hello again!
Meanwhile, changing some #[doc]s to ///s and vice versa causes it to render as expected.
cc @GuillaumeGomez
See the test added in #91199. This code:
renders as:
rather than the expected:
Meanwhile, changing some
#[doc]s to///s and vice versa causes it to render as expected.cc @GuillaumeGomez