Skip to content

Commit 001dd7e

Browse files
committedNov 6, 2020
Add tracking issue
1 parent ae059b5 commit 001dd7e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
 

‎library/std/src/io/cursor.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl<T> Cursor<T> {
9494
/// # force_inference(&buff);
9595
/// ```
9696
#[stable(feature = "rust1", since = "1.0.0")]
97-
#[rustc_const_unstable(feature = "const_io_structs", issue = "none")]
97+
#[rustc_const_unstable(feature = "const_io_structs", issue = "78812")]
9898
pub const fn new(inner: T) -> Cursor<T> {
9999
Cursor { pos: 0, inner }
100100
}
@@ -131,7 +131,7 @@ impl<T> Cursor<T> {
131131
/// let reference = buff.get_ref();
132132
/// ```
133133
#[stable(feature = "rust1", since = "1.0.0")]
134-
#[rustc_const_unstable(feature = "const_io_structs", issue = "none")]
134+
#[rustc_const_unstable(feature = "const_io_structs", issue = "78812")]
135135
pub const fn get_ref(&self) -> &T {
136136
&self.inner
137137
}
@@ -177,7 +177,7 @@ impl<T> Cursor<T> {
177177
/// assert_eq!(buff.position(), 1);
178178
/// ```
179179
#[stable(feature = "rust1", since = "1.0.0")]
180-
#[rustc_const_unstable(feature = "const_io_structs", issue = "none")]
180+
#[rustc_const_unstable(feature = "const_io_structs", issue = "78812")]
181181
pub const fn position(&self) -> u64 {
182182
self.pos
183183
}

‎library/std/src/io/util.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub struct Empty {
102102
/// assert!(buffer.is_empty());
103103
/// ```
104104
#[stable(feature = "rust1", since = "1.0.0")]
105-
#[rustc_const_unstable(feature = "const_io_structs", issue = "none")]
105+
#[rustc_const_unstable(feature = "const_io_structs", issue = "78812")]
106106
pub const fn empty() -> Empty {
107107
Empty { _priv: () }
108108
}
@@ -160,7 +160,7 @@ pub struct Repeat {
160160
/// assert_eq!(buffer, [0b101, 0b101, 0b101]);
161161
/// ```
162162
#[stable(feature = "rust1", since = "1.0.0")]
163-
#[rustc_const_unstable(feature = "const_io_structs", issue = "none")]
163+
#[rustc_const_unstable(feature = "const_io_structs", issue = "78812")]
164164
pub const fn repeat(byte: u8) -> Repeat {
165165
Repeat { byte }
166166
}
@@ -228,7 +228,7 @@ pub struct Sink {
228228
/// assert_eq!(num_bytes, 5);
229229
/// ```
230230
#[stable(feature = "rust1", since = "1.0.0")]
231-
#[rustc_const_unstable(feature = "const_io_structs", issue = "none")]
231+
#[rustc_const_unstable(feature = "const_io_structs", issue = "78812")]
232232
pub const fn sink() -> Sink {
233233
Sink { _priv: () }
234234
}

0 commit comments

Comments
 (0)
Please sign in to comment.