diff options
| author | Josh Stone <jistone@redhat.com> | 2025-02-17 09:35:47 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-02-18 08:50:21 -0800 |
| commit | fdba8a7c47398e8bd99cb22ede199bf9a0167eaf (patch) | |
| tree | 624e76dcdce4d56521089c6f5bece1bbfb9c15d2 /library/std/src/io | |
| parent | 3b022d8ceea570db9730be34d964f0cc663a567f (diff) | |
update version placeholders
(cherry picked from commit e4840ce59bdddb19394df008c5c26d9c493725f8)
Diffstat (limited to 'library/std/src/io')
| -rw-r--r-- | library/std/src/io/cursor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/io/cursor.rs b/library/std/src/io/cursor.rs index 606099c8bc6..08832bbc1e3 100644 --- a/library/std/src/io/cursor.rs +++ b/library/std/src/io/cursor.rs @@ -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; } |
