Skip to content

Commit 019795b

Browse files
author
Yuki Okushi
authored
Rollup merge of rust-lang#105100 - jhpratt:fix-docs, r=JohnTitor
Add missing intra-doc link Trivial change. This makes the plain text into inline code and makes it a link. `@rustbot` label +A-docs
2 parents 9f3ccd4 + d777c84 commit 019795b

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)