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 2816f55 commit ce1d7e8Copy full SHA for ce1d7e8
1 file changed
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