]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #103329 - saethlin:nonnull-precondition, r=thomcc
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Sat, 22 Oct 2022 10:58:08 +0000 (16:28 +0530)
committerGitHub <noreply@github.com>
Sat, 22 Oct 2022 10:58:08 +0000 (16:28 +0530)
commit3f49f9506f124097b9f773d08248432eca625f1c
tree6c5c41e25c56ea0f7429c4c7bbb06fbcac8e0cd6
parent141478b40f834a58c91749a547c734b67f4fe5e3
parent9b6791078a580acdd05246f00f900cbc079bb95e
Rollup merge of #103329 - saethlin:nonnull-precondition, r=thomcc

Add a forgotten check for NonNull::new_unchecked's precondition

Looks like I forgot this function a while ago in https://github.com/rust-lang/rust/pull/92686

r? ```@thomcc```