2019-01-10 14:25:07 +01:00
|
|
|
// rustfmt-wrap_comments: true
|
2019-01-16 23:06:28 +01:00
|
|
|
// rustfmt-version: Two
|
2019-01-10 14:25:07 +01:00
|
|
|
|
2019-01-16 23:06:28 +01:00
|
|
|
// check that a line below max_width does not get over the limit when wrapping
|
|
|
|
// it in a block comment
|
2019-01-10 14:25:07 +01:00
|
|
|
fn func() {
|
|
|
|
let x = 42;
|
|
|
|
/*
|
2019-01-16 23:06:28 +01:00
|
|
|
let something = "one line line line line line line line line line line line line line
|
2019-01-10 14:25:07 +01:00
|
|
|
two lines
|
|
|
|
three lines";
|
|
|
|
*/
|
|
|
|
}
|