]> git.lizzy.rs Git - rust.git/blob - tests/source/issue-3270/one.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / issue-3270 / one.rs
1 // rustfmt-version: One
2
3 pub fn main() {
4     /*   let s = String::from(
5         "
6 hello
7 world
8 ",
9     ); */
10
11     assert_eq!(s, "\nhello\nworld\n");
12 }