Skip to content

Commit 3830b8f

Browse files
authored
Merge pull request #176 from Superhepper/buffers_fix_patch
Fixed specifying size twice.
2 parents 1b89607 + c11a34d commit 3830b8f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/structures/buffers.rs

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ macro_rules! named_field_buffer_type {
7777
size: native.0.len() as u16,
7878
..Default::default()
7979
};
80-
buffer.size = native.0.len() as u16;
8180
buffer.$buffer_field_name[..native.0.len()].copy_from_slice(&native.0);
8281
buffer
8382
}

0 commit comments

Comments
 (0)