update version placeholders
(cherry picked from commit e4840ce59bdddb19394df008c5c26d9c493725f8)
This commit is contained in:
parent
3b022d8cee
commit
fdba8a7c47
16 changed files with 44 additions and 44 deletions
|
@ -1024,7 +1024,7 @@ where
|
|||
/// ```
|
||||
#[inline]
|
||||
#[doc(alias = "get_many_mut")]
|
||||
#[stable(feature = "map_many_mut", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[stable(feature = "map_many_mut", since = "1.86.0")]
|
||||
pub fn get_disjoint_mut<Q: ?Sized, const N: usize>(
|
||||
&mut self,
|
||||
ks: [&Q; N],
|
||||
|
@ -1091,7 +1091,7 @@ where
|
|||
/// ```
|
||||
#[inline]
|
||||
#[doc(alias = "get_many_unchecked_mut")]
|
||||
#[stable(feature = "map_many_mut", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[stable(feature = "map_many_mut", since = "1.86.0")]
|
||||
pub unsafe fn get_disjoint_unchecked_mut<Q: ?Sized, const N: usize>(
|
||||
&mut self,
|
||||
ks: [&Q; N],
|
||||
|
|
|
@ -153,7 +153,7 @@ impl<T> Cursor<T> {
|
|||
/// let reference = buff.get_mut();
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_const_stable(feature = "const_mut_cursor", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[rustc_const_stable(feature = "const_mut_cursor", since = "1.86.0")]
|
||||
pub const fn get_mut(&mut self) -> &mut T {
|
||||
&mut self.inner
|
||||
}
|
||||
|
@ -201,7 +201,7 @@ impl<T> Cursor<T> {
|
|||
/// assert_eq!(buff.position(), 4);
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_const_stable(feature = "const_mut_cursor", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[rustc_const_stable(feature = "const_mut_cursor", since = "1.86.0")]
|
||||
pub const fn set_position(&mut self, pos: u64) {
|
||||
self.pos = pos;
|
||||
}
|
||||
|
|
|
@ -191,7 +191,7 @@ impl<T> OnceLock<T> {
|
|||
/// })
|
||||
/// ```
|
||||
#[inline]
|
||||
#[stable(feature = "once_wait", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[stable(feature = "once_wait", since = "1.86.0")]
|
||||
pub fn wait(&self) -> &T {
|
||||
self.once.wait_force();
|
||||
|
||||
|
|
|
@ -284,7 +284,7 @@ impl Once {
|
|||
/// If this [`Once`] has been poisoned because an initialization closure has
|
||||
/// panicked, this method will also panic. Use [`wait_force`](Self::wait_force)
|
||||
/// if this behavior is not desired.
|
||||
#[stable(feature = "once_wait", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[stable(feature = "once_wait", since = "1.86.0")]
|
||||
pub fn wait(&self) {
|
||||
if !self.inner.is_completed() {
|
||||
self.inner.wait(false);
|
||||
|
@ -293,7 +293,7 @@ impl Once {
|
|||
|
||||
/// Blocks the current thread until initialization has completed, ignoring
|
||||
/// poisoning.
|
||||
#[stable(feature = "once_wait", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[stable(feature = "once_wait", since = "1.86.0")]
|
||||
pub fn wait_force(&self) {
|
||||
if !self.inner.is_completed() {
|
||||
self.inner.wait(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue