Skip to content

Commit

Permalink
Replaces cfg_attr with rustfmt on cube.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
TrveFenris committed Nov 22, 2020
1 parent f0c7add commit 9a48d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cube.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void main() {
Vertex::new([1, -1, -1], [0, 1]),
];

#[cfg_attr(rustfmt, rustfmt_skip)]
#[rustfmt::skip]
let index_data: &[u16] = &[
0, 1, 2, 2, 3, 0, // top
4, 5, 6, 6, 7, 4, // bottom
Expand Down

0 comments on commit 9a48d74

Please sign in to comment.