Skip to content

Commit edd2713

Browse files
Auto-format: cargo fmt --all
1 parent e1c4161 commit edd2713

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

crates/vm/src/types/slot_defs.rs

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,11 @@ impl SlotAccessor {
800800
if op == Some(SlotOp::Right) {
801801
match self {
802802
Self::NbAdd => {
803-
return slots.as_number.right_add.load().map(SlotFunc::NumBinaryRight);
803+
return slots
804+
.as_number
805+
.right_add
806+
.load()
807+
.map(SlotFunc::NumBinaryRight);
804808
}
805809
Self::NbSubtract => {
806810
return slots
@@ -848,13 +852,25 @@ impl SlotAccessor {
848852
.map(SlotFunc::NumBinaryRight);
849853
}
850854
Self::NbAnd => {
851-
return slots.as_number.right_and.load().map(SlotFunc::NumBinaryRight);
855+
return slots
856+
.as_number
857+
.right_and
858+
.load()
859+
.map(SlotFunc::NumBinaryRight);
852860
}
853861
Self::NbXor => {
854-
return slots.as_number.right_xor.load().map(SlotFunc::NumBinaryRight);
862+
return slots
863+
.as_number
864+
.right_xor
865+
.load()
866+
.map(SlotFunc::NumBinaryRight);
855867
}
856868
Self::NbOr => {
857-
return slots.as_number.right_or.load().map(SlotFunc::NumBinaryRight);
869+
return slots
870+
.as_number
871+
.right_or
872+
.load()
873+
.map(SlotFunc::NumBinaryRight);
858874
}
859875
Self::NbFloorDivide => {
860876
return slots

0 commit comments

Comments
 (0)