Skip to content

Commit c5eff54

Browse files
committed
fs::{read, read_string, write}: add tracking issue number
1 parent 1cf11b3 commit c5eff54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libstd/fs.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ pub struct DirBuilder {
244244
/// # Ok(())
245245
/// # }
246246
/// ```
247-
#[unstable(feature = "fs_read_write", issue = /* FIXME */ "0")]
247+
#[unstable(feature = "fs_read_write", issue = "46588")]
248248
pub fn read<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
249249
let mut bytes = Vec::new();
250250
File::open(path)?.read_to_end(&mut bytes)?;
@@ -285,7 +285,7 @@ pub fn read<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
285285
/// # Ok(())
286286
/// # }
287287
/// ```
288-
#[unstable(feature = "fs_read_write", issue = /* FIXME */ "0")]
288+
#[unstable(feature = "fs_read_write", issue = "46588")]
289289
pub fn read_string<P: AsRef<Path>>(path: P) -> io::Result<String> {
290290
let mut string = String::new();
291291
File::open(path)?.read_to_string(&mut string)?;
@@ -315,7 +315,7 @@ pub fn read_string<P: AsRef<Path>>(path: P) -> io::Result<String> {
315315
/// # Ok(())
316316
/// # }
317317
/// ```
318-
#[unstable(feature = "fs_read_write", issue = /* FIXME */ "0")]
318+
#[unstable(feature = "fs_read_write", issue = "46588")]
319319
pub fn write<P: AsRef<Path>, C: AsRef<[u8]>>(path: P, contents: C) -> io::Result<()> {
320320
File::create(path)?.write_all(contents.as_ref())
321321
}

0 commit comments

Comments
 (0)