fix spelling

This commit is contained in:
Skgland
2026-01-10 17:53:19 +01:00
committed by Bennet Bleßmann
parent eca4262be6
commit 5064760b1e
22 changed files with 63 additions and 31 deletions

View File

@@ -445,7 +445,7 @@ impl Index<usize> for ReservedHeapSection {
/// Computes the number of bytes required to pad a string of length `chunk_len`
/// with zeroes, such that `chunk_len + pstr_sentinel_length(chunk_len)` is a
/// multiple of `Heap::heap_cell_alignement()`.
/// multiple of `Heap::heap_cell_alignment()`.
fn pstr_sentinel_length(chunk_len: usize) -> usize {
let res = chunk_len.next_multiple_of(ALIGN) - chunk_len;