]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/normalize_multiline_doc_attribute.rs
Rollup merge of #107166 - petrochenkov:nooptable, r=oli-obk
[rust.git] / src / tools / rustfmt / tests / source / normalize_multiline_doc_attribute.rs
1 // rustfmt-unstable: true
2 // rustfmt-normalize_doc_attributes: true
3
4 #[doc = "This comment
5 is split
6 on multiple lines"]
7 fn foo() {}
8
9 #[doc = " B1"]
10 #[doc = ""]
11 #[doc = " A1"]
12 fn bar() {}