File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ") ]
248248pub 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 ") ]
289289pub 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 ") ]
319319pub fn write < P : AsRef < Path > , C : AsRef < [ u8 ] > > ( path : P , contents : C ) -> io:: Result < ( ) > {
320320 File :: create ( path) ?. write_all ( contents. as_ref ( ) )
321321}
You can’t perform that action at this time.
0 commit comments