mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 04:18:14 +00:00
janitor: Go over our spell checking setup
* Extend the cspell word list * Remove those extensions from individual source files * white-list licenses and such as we should not meddle with those * Fix spelling
This commit is contained in:
parent
ef39adce30
commit
b12575a4c4
84 changed files with 236 additions and 219 deletions
|
|
@ -152,7 +152,7 @@ mod allocator {
|
|||
if align <= core::mem::size_of::<usize>() {
|
||||
malloc(layout.size()) as *mut u8
|
||||
} else {
|
||||
// Ideally we'd use alligned_alloc, but that function caused heap corruption with esp-idf
|
||||
// Ideally we'd use aligned_alloc, but that function caused heap corruption with esp-idf
|
||||
let ptr = malloc(layout.size() + align) as *mut u8;
|
||||
let shift = align - (ptr as usize % align);
|
||||
let ptr = ptr.add(shift);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue