We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a4c628 commit 83a4aecCopy full SHA for 83a4aec
1 file changed
src/lib.rs
@@ -988,7 +988,7 @@ impl AlignedBuf {
988
if mem::size_of::<usize>() < 8 && capacity > isize::MAX as usize {
989
Self::capacity_overflow()
990
}
991
- let layout = match Layout::from_size_align(capacity, SIMDINPUT_LENGTH) {
+ let layout = match Layout::from_size_align(capacity, SIMDJSON_PADDING) {
992
Ok(layout) => layout,
993
Err(_) => Self::capacity_overflow(),
994
};
0 commit comments