diff options
| author | Yuki Okushi <huyuumi.dev+love@gmail.com> | 2022-12-03 12:51:28 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-03 12:51:28 +0900 |
| commit | 019795b162901ea50af357b04a2a5eab325f4bfb (patch) | |
| tree | 25948e2d533b45ea5e7c44d8b8b061527375cbf7 | |
| parent | 9f3ccd4bf642d9c55582bd643ec33b8a726272d6 (diff) | |
| parent | d777c84603ce41d21e3d3a73521e0f9f7d3063be (diff) | |
| download | rust-019795b162901ea50af357b04a2a5eab325f4bfb.tar.gz rust-019795b162901ea50af357b04a2a5eab325f4bfb.zip | |
Rollup merge of #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
| -rw-r--r-- | library/std/src/fs.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 0660e03c1a8..f357d505fe8 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -510,8 +510,9 @@ impl File { /// # Errors /// /// This function will return an error if the file is not opened for writing. - /// Also, std::io::ErrorKind::InvalidInput will be returned if the desired - /// length would cause an overflow due to the implementation specifics. + /// Also, [`std::io::ErrorKind::InvalidInput`](crate::io::ErrorKind::InvalidInput) + /// will be returned if the desired length would cause an overflow due to + /// the implementation specifics. /// /// # Examples /// |
