]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #65461 - Kampfkarren:patch-1, r=Centril
authorMazdak Farrokhzad <twingoow@gmail.com>
Thu, 17 Oct 2019 11:46:09 +0000 (13:46 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Oct 2019 11:46:09 +0000 (13:46 +0200)
commit55f2ac2483531977f4b1b9f79753b0f9c82bbc16
treed831fe8fe8beb9ca859dfdf1509d8a8a2dc7e5c0
parent60ac3335fd48b91ab2262de784d408cfa33f00c1
parent247df6e13492d7d9ffed3de49aa59067ef8267f1
Rollup merge of #65461 - Kampfkarren:patch-1, r=Centril

Don't recommend ONCE_INIT in std::sync::Once

ONCE_INIT is deprecated, and so suggesting it as not only being on par with, but before `Once::new` is a bad idea.