#![deny(unsafe_op_in_unsafe_fn)]
All refactoring needed was only in `alloc.rs`, changed part of the code in `alloc` method to satisfy the SAFETY statement