]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-4926/minimum_example.rs
Rollup merge of #89876 - AlexApps99:const_ops, r=oli-obk
[rust.git] / src / tools / rustfmt / tests / target / issue-4926 / minimum_example.rs
1 // rustfmt-struct_field_align_threshold: 30
2
3 struct X {
4     a: i32,
5     b: i32,
6 }
7
8 fn test(x: X) {
9     let y = matches!(x, X { a: 1, .. });
10 }