File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 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;
2929///
3030/// # Examples
3131///
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`]):
3333///
3434/// ```no_run
3535/// use std::fs::File;
@@ -42,7 +42,7 @@ use crate::time::SystemTime;
4242/// }
4343/// ```
4444///
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`]):
4646///
4747/// ```no_run
4848/// use std::fs::File;
@@ -89,6 +89,8 @@ use crate::time::SystemTime;
8989/// [`Write`]: ../io/trait.Write.html
9090/// [`BufReader<R>`]: ../io/struct.BufReader.html
9191/// [`sync_all`]: struct.File.html#method.sync_all
92+ /// [`read`]: fn.read.html
93+ /// [`write`]: fn.write.html
9294#[ stable( feature = "rust1" , since = "1.0.0" ) ]
9395pub struct File {
9496 inner : fs_imp:: File ,
You can’t perform that action at this time.
0 commit comments