Rollup merge of #132493 - Houtamelo:doc_type-ref_html-tag, r=jieyouxu

Fix type reference in documents which was being confused with html tags.

Running `x dist` was failing due to it invoking commands with `-D warnings`, which emitted a warning about unclosed html tags.
This commit is contained in:
Matthias Krüger 2024-11-02 12:14:13 +01:00 committed by GitHub
commit 52ff41ccaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@
}
}
/// Map a Result<T, WinError> to io::Result<T>.
/// Map a [`Result<T, WinError>`] to [`io::Result<T>`](crate::io::Result<T>).
trait IoResult<T> {
fn io_result(self) -> crate::io::Result<T>;
}