File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ impl<T> Cursor<T> {
153
153
/// let reference = buff.get_mut();
154
154
/// ```
155
155
#[stable(feature = "rust1", since = "1.0.0")]
156
- #[rustc_const_unstable (feature = "const_mut_cursor", issue = "130801 ")]
156
+ #[rustc_const_stable (feature = "const_mut_cursor", since = "CURRENT_RUSTC_VERSION ")]
157
157
pub const fn get_mut(&mut self) -> &mut T {
158
158
&mut self.inner
159
159
}
@@ -201,7 +201,7 @@ impl<T> Cursor<T> {
201
201
/// assert_eq!(buff.position(), 4);
202
202
/// ```
203
203
#[stable(feature = "rust1", since = "1.0.0")]
204
- #[rustc_const_unstable (feature = "const_mut_cursor", issue = "130801 ")]
204
+ #[rustc_const_stable (feature = "const_mut_cursor", since = "CURRENT_RUSTC_VERSION ")]
205
205
pub const fn set_position(&mut self, pos: u64) {
206
206
self.pos = pos;
207
207
}
You can’t perform that action at this time.
0 commit comments