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 ebab1d2 commit 07b6e66Copy full SHA for 07b6e66
src/lib.rs
@@ -1090,7 +1090,7 @@ impl AlignedBuf {
1090
if mem::size_of::<usize>() < 8 && capacity > isize::MAX as usize {
1091
Self::capacity_overflow()
1092
}
1093
- let layout = match Layout::from_size_align(capacity, SIMDINPUT_LENGTH) {
+ let layout = match Layout::from_size_align(capacity, SIMDJSON_PADDING) {
1094
Ok(layout) => layout,
1095
Err(_) => Self::capacity_overflow(),
1096
};
0 commit comments