Skip to content

Commit

Permalink
Auto merge of #10400 - calebcartwright:rustfmt-cleanup, r=Jarcho
Browse files Browse the repository at this point in the history
chore: remove unneeded rustfmt skip

---

The associated rustfmt bug that originally necessitated these skips was resolved a while back, so these are no longer necessary

changelog: none
  • Loading branch information
bors committed Feb 26, 2023
2 parents e1ac133 + 730fa93 commit 3d193fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/ui/trailing_empty_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ struct TupleStructReprC(i32, [usize; 0]);

type NamedTuple = (i32, [usize; 0]);

#[rustfmt::skip] // [rustfmt#4995](https://github.com/rust-lang/rustfmt/issues/4995)
struct ConstParamZeroDefault<const N: usize = 0> {
field: i32,
last: [usize; N],
Expand All @@ -166,7 +165,6 @@ struct ConstParamNoDefault<const N: usize> {
last: [usize; N],
}

#[rustfmt::skip]
struct ConstParamNonZeroDefault<const N: usize = 1> {
field: i32,
last: [usize; N],
Expand Down

0 comments on commit 3d193fa

Please sign in to comment.