summaryrefslogtreecommitdiffstats
path: root/tests/rust/documentation_attr.rs
blob: d88ce806b2ff3e429bb44afe1af13a7d6fe329e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#[doc="With doc attr, each attr contribute to one line of document"]
#[doc="like this one with a new line character at its end"]
#[doc="and this one as well. So they are in the same paragraph"]
#[doc=""]
#[doc="Line ends with one new line\nshould not break"]
#[doc=""]
#[doc="Line ends with two spaces and a new line  \nshould break to next line"]
#[doc=""]
#[doc="Line ends with two new lines\n\nShould break to next paragraph"]
#[no_mangle]
pub extern "C" fn root() {
}