b8f7ec3dcc
* Add custom comments This allows users to use custom comments such as ``` //@ this is a custom comment //@ with multiple lines ``` without having them destroyed by rustfmt. * Fix issues with empty lines * Check non-whitespace right after custom comments
7 lines
214 B
Rust
7 lines
214 B
Rust
// rustfmt-wrap_comments: true
|
|
|
|
//@ special comment
|
|
//@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec adiam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam
|
|
//@
|
|
//@foo
|
|
fn test() {} |