]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/format_strings/issue-2833.rs
Rollup merge of #84758 - ChrisDenton:dllimport, r=dtolnay
[rust.git] / src / tools / rustfmt / tests / target / format_strings / issue-2833.rs
1 // rustfmt-format_strings: true
2 // rustfmt-max_width: 80
3
4 fn test1() {
5     let expected = "\
6 but Doctor Watson has to have it taken out for him and dusted,
7 ";
8 }
9
10 fn test2() {
11     let expected = "\
12 [Omitted long matching line]
13 but Doctor Watson has to have it taken out for him and dusted,
14 ";
15 }