From c5eff5442ca963e20225c8229aff7be28f65a0a6 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 8 Dec 2017 19:28:13 +0100 Subject: [PATCH] fs::{read, read_string, write}: add tracking issue number --- src/libstd/fs.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index a5884f75e0acd..f40aed2478a17 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -244,7 +244,7 @@ pub struct DirBuilder { /// # Ok(()) /// # } /// ``` -#[unstable(feature = "fs_read_write", issue = /* FIXME */ "0")] +#[unstable(feature = "fs_read_write", issue = "46588")] pub fn read>(path: P) -> io::Result> { let mut bytes = Vec::new(); File::open(path)?.read_to_end(&mut bytes)?; @@ -285,7 +285,7 @@ pub fn read>(path: P) -> io::Result> { /// # Ok(()) /// # } /// ``` -#[unstable(feature = "fs_read_write", issue = /* FIXME */ "0")] +#[unstable(feature = "fs_read_write", issue = "46588")] pub fn read_string>(path: P) -> io::Result { let mut string = String::new(); File::open(path)?.read_to_string(&mut string)?; @@ -315,7 +315,7 @@ pub fn read_string>(path: P) -> io::Result { /// # Ok(()) /// # } /// ``` -#[unstable(feature = "fs_read_write", issue = /* FIXME */ "0")] +#[unstable(feature = "fs_read_write", issue = "46588")] pub fn write, C: AsRef<[u8]>>(path: P, contents: C) -> io::Result<()> { File::create(path)?.write_all(contents.as_ref()) }