]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #83476 - mystor:rc_mutate_strong_count, r=m-ou-se
authorDylan DPC <dylan.dpc@gmail.com>
Wed, 7 Apr 2021 11:07:06 +0000 (13:07 +0200)
committerGitHub <noreply@github.com>
Wed, 7 Apr 2021 11:07:06 +0000 (13:07 +0200)
commit505846ec07c1303369358a1c3358c7d7ee0ca12e
tree54841e777a4af849b43003dcdb19b4e22e781a17
parent1c158b6a8b440f826d952c3a8f42bdc3f77a5ac1
parenta591d7ab9004f5b653b6f135c4a79bd3104a44a4
Rollup merge of #83476 - mystor:rc_mutate_strong_count, r=m-ou-se

Add strong_count mutation methods to Rc

The corresponding methods were stabilized on `Arc` in #79285 (tracking: #71983). This patch implements and stabilizes identical methods on the `Rc` types as well.
library/alloc/src/rc.rs