Inputs
#[no_mangle]
#[doc = "a \n b"]
pub extern "C" fn example_a() {}
and
#[no_mangle]
#[doc = "a \n\n b"]
pub extern "C" fn example_b() {}
Rendered rustdoc
rustdoc/the doc attribute


Actual generated header
Expected generated header
///a
///
///b
void example_b();
This happens when I'm trying to generate multi-line comments with macro. Looks like (code) we simply use value in single doc attribute directly without any modification (like rustdoc does).
BTW, I'm happy to help this out :)