Skip to content

Commit 6141a4a

Browse files
committed
struct: remove semis
1 parent 54b72bd commit 6141a4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/struct.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function set (buffer, offset, value) {
166166
if (isStruct) {
167167
// optimization: copy the buffer contents directly rather
168168
// than going through the ref-struct constructor
169-
value['ref.buffer'].copy(buffer, offset, 0, this.size);
169+
value['ref.buffer'].copy(buffer, offset, 0, this.size)
170170
} else {
171171
if (offset > 0) {
172172
buffer = buffer.slice(offset)
@@ -226,7 +226,7 @@ function defineProperty (name, type) {
226226
// calculate the new size and field offsets
227227
recalc(this)
228228

229-
Object.defineProperty(this.prototype, name, desc);
229+
Object.defineProperty(this.prototype, name, desc)
230230
}
231231

232232
function recalc (struct) {

0 commit comments

Comments
 (0)