Skip to content

Commit d9dbdd0

Browse files
fmt
1 parent 061d1f3 commit d9dbdd0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/lib/LibMemoryKV.sol

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,11 @@ library LibMemoryKV {
9999

100100
// kv must point to new insertion.
101101
//slither-disable-next-line incorrect-shift
102-
kv :=
103-
or(
104-
shl(bitOffset, pointer),
105-
// Mask out the old pointer
106-
and(kv, not(shl(bitOffset, 0xFFFF)))
107-
)
102+
kv := or(
103+
shl(bitOffset, pointer),
104+
// Mask out the old pointer
105+
and(kv, not(shl(bitOffset, 0xFFFF)))
106+
)
108107
}
109108
}
110109
return kv;

0 commit comments

Comments
 (0)