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 @@ -28,7 +28,7 @@ use time::SystemTime;
28
28
/// A reference to an open file on the filesystem.
29
29
///
30
30
/// An instance of a `File` can be read and/or written depending on what options
31
- /// it was opened with. Files also implement `Seek` to alter the logical cursor
31
+ /// it was opened with. Files also implement [ `Seek`] to alter the logical cursor
32
32
/// that the file contains internally.
33
33
///
34
34
/// Files are automatically closed when they go out of scope.
@@ -48,7 +48,7 @@ use time::SystemTime;
48
48
/// # }
49
49
/// ```
50
50
///
51
- /// Read the contents of a file into a `String`:
51
+ /// Read the contents of a file into a [ `String`] :
52
52
///
53
53
/// ```no_run
54
54
/// use std::fs::File;
@@ -81,6 +81,8 @@ use time::SystemTime;
81
81
/// # }
82
82
/// ```
83
83
///
84
+ /// [`Seek`]: ../io/trait.Seek.html
85
+ /// [`String`]: ../string/struct.String.html
84
86
/// [`Read`]: ../io/trait.Read.html
85
87
/// [`BufReader<R>`]: ../io/struct.BufReader.html
86
88
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
You can’t perform that action at this time.
0 commit comments