Skip to content

Commit 1375df2

Browse files
committed
Format code
1 parent df39a77 commit 1375df2

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Diff for: src/tools/rust-analyzer/crates/hir-def/src/data/adt.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,13 @@ fn parse_repr_tt(tt: &TopSubtree) -> Option<ReprOptions> {
173173
}
174174
}
175175

176-
Some(ReprOptions { int, align: max_align, pack: min_pack, flags, field_shuffle_seed: Hash64::ZERO })
176+
Some(ReprOptions {
177+
int,
178+
align: max_align,
179+
pack: min_pack,
180+
flags,
181+
field_shuffle_seed: Hash64::ZERO,
182+
})
177183
}
178184

179185
impl StructData {

Diff for: src/tools/rust-analyzer/crates/hir-ty/src/layout.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ use hir_def::{
1414
};
1515
use la_arena::{Idx, RawIdx};
1616
use rustc_abi::AddressSpace;
17-
use rustc_index::{IndexSlice, IndexVec};
1817
use rustc_hashes::Hash64;
18+
use rustc_index::{IndexSlice, IndexVec};
1919

2020
use triomphe::Arc;
2121

0 commit comments

Comments
 (0)