Skip to content

Commit d777c84

Browse files
committed
Add missing intra-doc link
1 parent c97b539 commit d777c84

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

library/std/src/fs.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,9 @@ impl File {
510510
/// # Errors
511511
///
512512
/// This function will return an error if the file is not opened for writing.
513-
/// Also, std::io::ErrorKind::InvalidInput will be returned if the desired
514-
/// length would cause an overflow due to the implementation specifics.
513+
/// Also, [`std::io::ErrorKind::InvalidInput`](crate::io::ErrorKind::InvalidInput)
514+
/// will be returned if the desired length would cause an overflow due to
515+
/// the implementation specifics.
515516
///
516517
/// # Examples
517518
///

0 commit comments

Comments
 (0)