Skip to content

Commit b196b28

Browse files
authored
Unrolled build for #160477
Rollup merge of #160477 - tgross35:borrowed-buf-init-tracking, r=jhpratt Update the tracking issue for `borrowed_buf_init` This used the same tracking issue as `read_buf`, which is likely to stabilize in the near future without this portion of the API. Previous issue: #78485 New issue: #160476
2 parents c9ff496 + 6b47c96 commit b196b28

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

library/core/src/io/borrowed_buf.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl<'data, T> BorrowedBuf<'data, T> {
9494
}
9595

9696
/// Returns `true` if the buffer is initialized.
97-
#[unstable(feature = "borrowed_buf_init", issue = "78485")]
97+
#[unstable(feature = "borrowed_buf_init", issue = "160476")]
9898
#[inline]
9999
pub fn is_init(&self) -> bool {
100100
self.init
@@ -170,7 +170,7 @@ impl<'data, T: Copy> BorrowedBuf<'data, T> {
170170
/// # Safety
171171
///
172172
/// All the elements of the buffer must be initialized.
173-
#[unstable(feature = "borrowed_buf_init", issue = "78485")]
173+
#[unstable(feature = "borrowed_buf_init", issue = "160476")]
174174
#[inline]
175175
pub unsafe fn set_init(&mut self) -> &mut Self {
176176
self.init = true;
@@ -240,7 +240,7 @@ impl<'a, T: Copy> BorrowedCursor<'a, T> {
240240
}
241241

242242
/// Returns `true` if the buffer is initialized.
243-
#[unstable(feature = "borrowed_buf_init", issue = "78485")]
243+
#[unstable(feature = "borrowed_buf_init", issue = "160476")]
244244
#[inline]
245245
pub fn is_init(&self) -> bool {
246246
self.buf.init
@@ -251,7 +251,7 @@ impl<'a, T: Copy> BorrowedCursor<'a, T> {
251251
/// # Safety
252252
///
253253
/// All the elements of the cursor must be initialized.
254-
#[unstable(feature = "borrowed_buf_init", issue = "78485")]
254+
#[unstable(feature = "borrowed_buf_init", issue = "160476")]
255255
#[inline]
256256
pub unsafe fn set_init(&mut self) {
257257
self.buf.init = true;
@@ -280,7 +280,7 @@ impl<'a, T: Copy> BorrowedCursor<'a, T> {
280280
/// # Panics
281281
///
282282
/// Panics if there are less than `n` elements initialized.
283-
#[unstable(feature = "borrowed_buf_init", issue = "78485")]
283+
#[unstable(feature = "borrowed_buf_init", issue = "160476")]
284284
#[inline]
285285
pub fn advance_checked(&mut self, n: usize) -> &mut Self {
286286
// The subtraction cannot underflow by invariant of this type.
@@ -359,7 +359,7 @@ impl<'a, T: Copy> BorrowedCursor<'a, T> {
359359

360360
impl<'a> BorrowedCursor<'a, u8> {
361361
/// Initializes all bytes in the cursor and returns them.
362-
#[unstable(feature = "borrowed_buf_init", issue = "78485")]
362+
#[unstable(feature = "borrowed_buf_init", issue = "160476")]
363363
#[inline]
364364
pub fn ensure_init(&mut self) -> &mut [u8] {
365365
// SAFETY: always in bounds and we never uninitialize these bytes.

0 commit comments

Comments
 (0)