Merge pull request #2291 from topecongiro/issue-2289

Take the width of block's prefix into account only once
This commit is contained in:
Nick Cameron
2017-12-22 12:58:02 +13:00
committed by GitHub
4 changed files with 17 additions and 8 deletions
+6
View File
@@ -108,6 +108,12 @@ fn baz() {
unsafe {
foo();
}
// #2289
let identifier_0 = unsafe { this_is_58_chars_long_and_line_is_93_chars_long_xxxxxxxxxx };
let identifier_1 = unsafe { this_is_59_chars_long_and_line_is_94_chars_long_xxxxxxxxxxx };
let identifier_2 = unsafe { this_is_65_chars_long_and_line_is_100_chars_long_xxxxxxxxxxxxxxxx };
let identifier_3 = unsafe { this_is_66_chars_long_and_line_is_101_chars_long_xxxxxxxxxxxxxxxxx };
}
// Test some empty blocks.