Closed SNCPlay42 closed 4 years ago
Confusingly enough the final code chapter uses NonNull
. Looks like it's out of sync with the other chapters?
This was discussed in the comments of #161 but is not currently fixed in that PR. It seems likely that any PR fixing this will have merge conflicts with that one.
Dupes #160
In src/vec-layout.md:
std::ptr::NonNull
is stable since 1.25, whilestd::ptr::Unique
is still feature-gated and even hidden from documentation. This should be updated to avoid unnecessarily using unstable features.