Skip to content

Commit 062615e

Browse files
committed
Rustfmt
1 parent ad54d9f commit 062615e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

third_party/move/move-binary-format/src/check_bounds.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,8 @@ impl<'a> BoundsChecker<'a> {
673673
| LdI8(_) | LdI16(_) | LdI32(_) | LdI64(_) | LdI256(_) | LdI128(_) | CastI8
674674
| CastI16 | CastI32 | CastI64 | CastI128 | CastI256 | LdTrue | LdFalse
675675
| ReadRef | WriteRef | Add | Sub | Mul | Mod | Div | Negate | BitOr | BitAnd
676-
| Xor | Shl | Shr | Or | And | Not | Eq | Neq | Lt | Gt | Le | Ge | Abort | AbortMsg | Nop => {
677-
},
676+
| Xor | Shl | Shr | Or | And | Not | Eq | Neq | Lt | Gt | Le | Ge | Abort
677+
| AbortMsg | Nop => {},
678678
}
679679
}
680680
Ok(())

third_party/move/move-bytecode-verifier/src/instruction_consistency.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ impl<'a> InstructionConsistency<'a> {
151151
| Xor | Shl | Shr | Or | And | Not | Eq | Neq | Lt | Gt | Le | Ge | CopyLoc(_)
152152
| MoveLoc(_) | StLoc(_) | MutBorrowLoc(_) | ImmBorrowLoc(_) | VecLen(_)
153153
| VecImmBorrow(_) | VecMutBorrow(_) | VecPushBack(_) | VecPopBack(_)
154-
| VecSwap(_) | Abort | AbortMsg | Nop | LdI8(_) | LdI16(_) | LdI32(_) | LdI64(_)
155-
| LdI128(_) | LdI256(_) | CastI8 | CastI16 | CastI32 | CastI64 | CastI128
156-
| CastI256 => (),
154+
| VecSwap(_) | Abort | AbortMsg | Nop | LdI8(_) | LdI16(_) | LdI32(_)
155+
| LdI64(_) | LdI128(_) | LdI256(_) | CastI8 | CastI16 | CastI32 | CastI64
156+
| CastI128 | CastI256 => (),
157157
}
158158
}
159159
Ok(())

0 commit comments

Comments
 (0)