rust/tests/source/normalize_multiline_doc_attribute.rs

13 lines
187 B
Rust
Raw Normal View History

2019-05-12 16:03:48 -05:00
// rustfmt-unstable: true
// rustfmt-normalize_doc_attributes: true
2019-05-12 16:03:48 -05:00
2019-05-11 08:03:59 -05:00
#[doc = "This comment
is split
on multiple lines"]
fn foo() {}
2019-05-21 10:10:35 -05:00
#[doc = " B1"]
#[doc = ""]
#[doc = " A1"]
fn bar() {}