Fill in the tracking issue for #![feature(const_unsafecell_get_mut)]

This commit is contained in:
Waffle Lapkin 2021-09-11 00:07:14 +03:00 committed by GitHub
parent efeb461873
commit 2c30162380
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1916,7 +1916,7 @@ impl<T: ?Sized> UnsafeCell<T> {
/// ```
#[inline(always)]
#[stable(feature = "unsafe_cell_get_mut", since = "1.50.0")]
#[rustc_const_unstable(feature = "const_unsafecell_get_mut", issue = "none")]
#[rustc_const_unstable(feature = "const_unsafecell_get_mut", issue = "88836")]
pub const fn get_mut(&mut self) -> &mut T {
&mut self.value
}