rustfmt-nightly 1.0.2

Tool to find and fix Rust formatting issues
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Issue 2842
// The comment should not make the last line shorter

static XXX: [i8; 64] = [
    1, // Comment
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
];

static XXX: [i8; 64] = [
    1, // Comment
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
];

static XXX: [i8; 64] = [
    1, // Comment
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1,
];