Commit 6ac4f576 authored by Marcel Hellwig's avatar Marcel Hellwig
Browse files

Changed `*mut ...` to `Option<NonNull<...>>`

Instead of a raw pointer use a combination of Option and NonNull which
is exactly the same size as a raw pointer, expect you cannot access a
nullpointer by accident.
The assembly is completly identical on the hot path (the one that does not
procude a panic). Only one move more on the cold path (because of the
unwrap message (?).
parent 55b67cd7
Pipeline #2485 failed with stages
in 45 seconds