Skip to content

Commit

Permalink
Rollup merge of #132493 - Houtamelo:doc_type-ref_html-tag, r=jieyouxu
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matthiaskrgr authored Nov 2, 2024
2 parents 90c5f86 + 1acb104 commit 52ff41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/pal/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cfg_if::cfg_if! {
}
}

/// 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>;
}
Expand Down

0 comments on commit 52ff41c

Please sign in to comment.