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<T: ?Sized + ArenaAllocated> TypedAllocSlab<T> {
pub fn to_untyped(self: Box<Self>) -> (TypedArenaPtr<T>, UntypedArenaSlab) {
let raw_box = Box::into_raw(self);
// safety: the pointer from Box::into_raw fullfills addr_of_mut's saftey requirements
// safety: the pointer from Box::into_raw fulfills addr_of_mut's safety requirements
let payload_ptr = unsafe { addr_of_mut!((*raw_box).payload) };
(