Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
heap::deallocate expects a *mut u8 but here a *mut T is given. The fi…
…nal code is correct, the example here would not compile without the cast. I used *mut _ instead of *mut u8 to be consistent with the final code.
- Loading branch information