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
This commit is contained in:
Yuki Okushi 2022-12-03 12:51:28 +09:00 committed by GitHub
commit 019795b162
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -510,8 +510,9 @@ impl File {
/// # Errors /// # Errors
/// ///
/// This function will return an error if the file is not opened for writing. /// 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 /// Also, [`std::io::ErrorKind::InvalidInput`](crate::io::ErrorKind::InvalidInput)
/// length would cause an overflow due to the implementation specifics. /// will be returned if the desired length would cause an overflow due to
/// the implementation specifics.
/// ///
/// # Examples /// # Examples
/// ///