rust/tests/source/configs/wrap_comments/true.rs

16 lines
429 B
Rust
Raw Normal View History

// rustfmt-wrap_comments: true
// rustfmt-max_width: 50
// Wrap comments
fn main() {
// Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
}
2017-12-10 20:40:59 -06:00
fn code_block() {
// ```rust
// let x = 3;
//
// println!("x = {}", x);
// ```
}