Skip to content

Commit 3636fd0

Browse files
authored
net: fix broken link of RawFd in TcpSocket docs (#7416)
1 parent 2506c9f commit 3636fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/net/tcp/socket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ cfg_net! {
7979
/// accessing the `RawFd`/`RawSocket` using [`AsRawFd`]/[`AsRawSocket`] and
8080
/// setting the option with a crate like [`socket2`].
8181
///
82-
/// [`RawFd`]: https://doc.rust-lang.org/std/os/unix/io/type.RawFd.html
82+
/// [`RawFd`]: https://doc.rust-lang.org/std/os/fd/type.RawFd.html
8383
/// [`RawSocket`]: https://doc.rust-lang.org/std/os/windows/io/type.RawSocket.html
8484
/// [`AsRawFd`]: https://doc.rust-lang.org/std/os/unix/io/trait.AsRawFd.html
8585
/// [`AsRawSocket`]: https://doc.rust-lang.org/std/os/windows/io/trait.AsRawSocket.html

0 commit comments

Comments
 (0)