File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ use crate::time::SystemTime;
29
29
///
30
30
/// # Examples
31
31
///
32
- /// Creates a new file and write bytes to it (you can also use [`std::fs:: write`]):
32
+ /// Creates a new file and write bytes to it (you can also use [`write`]):
33
33
///
34
34
/// ```no_run
35
35
/// use std::fs::File;
@@ -42,7 +42,7 @@ use crate::time::SystemTime;
42
42
/// }
43
43
/// ```
44
44
///
45
- /// Read the contents of a file into a [`String`] (you can also use [`std::fs:: read`]):
45
+ /// Read the contents of a file into a [`String`] (you can also use [`read`]):
46
46
///
47
47
/// ```no_run
48
48
/// use std::fs::File;
@@ -89,6 +89,8 @@ use crate::time::SystemTime;
89
89
/// [`Write`]: ../io/trait.Write.html
90
90
/// [`BufReader<R>`]: ../io/struct.BufReader.html
91
91
/// [`sync_all`]: struct.File.html#method.sync_all
92
+ /// [`read`]: fn.read.html
93
+ /// [`write`]: fn.write.html
92
94
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
93
95
pub struct File {
94
96
inner : fs_imp:: File ,
You can’t perform that action at this time.
0 commit comments