]> git.lizzy.rs Git - rust.git/blob - tests/target/issue-3270/wrap.rs
version-gate the formatting of commented strings
[rust.git] / tests / target / issue-3270 / wrap.rs
1 // rustfmt-wrap_comments: true
2 // rustfmt-version: Two
3
4 // check that a line below max_width does not get over the limit when wrapping
5 // it in a block comment
6 fn func() {
7     let x = 42;
8     /*
9     let something = "one line line  line  line  line  line  line  line  line  line  line  line line
10   two lines
11          three lines";
12      */
13 }