]> git.lizzy.rs Git - rust.git/commit
Make the size of Option<NonZero*> a documented guarantee.
authorSimon Sapin <simon.sapin@exyr.org>
Wed, 6 Jun 2018 11:46:51 +0000 (13:46 +0200)
committerSimon Sapin <simon.sapin@exyr.org>
Wed, 6 Jun 2018 11:58:09 +0000 (13:58 +0200)
commit5c7ca77b173e170f7440ba2cb5898cfc33874681
tree455bc49ff0ad6ed469874dac515b3706111acc3b
parent4a9c58c6bd0e609538053a35685e206f66019820
Make the size of Option<NonZero*> a documented guarantee.

Closes #49137, the tracking issue for `NonZero*`,
as this was the last remaining open question.

Note that `ptr::NonNull<T>` already documents a similar guarantee.
src/libcore/num/mod.rs