File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ pub struct DirBuilder {
244
244
/// # Ok(())
245
245
/// # }
246
246
/// ```
247
- #[ unstable( feature = "fs_read_write" , issue = /* FIXME */ "0 ") ]
247
+ #[ unstable( feature = "fs_read_write" , issue = "46588 ") ]
248
248
pub fn read < P : AsRef < Path > > ( path : P ) -> io:: Result < Vec < u8 > > {
249
249
let mut bytes = Vec :: new ( ) ;
250
250
File :: open ( path) ?. read_to_end ( & mut bytes) ?;
@@ -285,7 +285,7 @@ pub fn read<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
285
285
/// # Ok(())
286
286
/// # }
287
287
/// ```
288
- #[ unstable( feature = "fs_read_write" , issue = /* FIXME */ "0 ") ]
288
+ #[ unstable( feature = "fs_read_write" , issue = "46588 ") ]
289
289
pub fn read_string < P : AsRef < Path > > ( path : P ) -> io:: Result < String > {
290
290
let mut string = String :: new ( ) ;
291
291
File :: open ( path) ?. read_to_string ( & mut string) ?;
@@ -315,7 +315,7 @@ pub fn read_string<P: AsRef<Path>>(path: P) -> io::Result<String> {
315
315
/// # Ok(())
316
316
/// # }
317
317
/// ```
318
- #[ unstable( feature = "fs_read_write" , issue = /* FIXME */ "0 ") ]
318
+ #[ unstable( feature = "fs_read_write" , issue = "46588 ") ]
319
319
pub fn write < P : AsRef < Path > , C : AsRef < [ u8 ] > > ( path : P , contents : C ) -> io:: Result < ( ) > {
320
320
File :: create ( path) ?. write_all ( contents. as_ref ( ) )
321
321
}
You can’t perform that action at this time.
0 commit comments