Skip to content

Commit 74608c7

Browse files
committed
Rustfmt and adjust capitalization
1 parent ec88ffa commit 74608c7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/librustc_target/abi/mod.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -661,10 +661,9 @@ impl FieldPlacement {
661661
pub fn offset(&self, i: usize) -> Size {
662662
match *self {
663663
FieldPlacement::Union(count) => {
664-
assert!(i < count,
665-
"Tried to access field {} of union with {} fields", i, count);
664+
assert!(i < count, "tried to access field {} of union with {} fields", i, count);
666665
Size::ZERO
667-
},
666+
}
668667
FieldPlacement::Array { stride, count } => {
669668
let i = i as u64;
670669
assert!(i < count);

0 commit comments

Comments
 (0)