We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76c5a43 commit 3aad36bCopy full SHA for 3aad36b
src/lib.rs
@@ -989,7 +989,7 @@ impl AlignedBuf {
989
if mem::size_of::<usize>() < 8 && capacity > isize::MAX as usize {
990
Self::capacity_overflow()
991
}
992
- let layout = match Layout::from_size_align(capacity, SIMDINPUT_LENGTH) {
+ let layout = match Layout::from_size_align(capacity, SIMDJSON_PADDING) {
993
Ok(layout) => layout,
994
Err(_) => Self::capacity_overflow(),
995
};
0 commit comments