net: qualify that SO_REUSEADDR is only set on Unix (#7533)

This commit is contained in:
Logan Praneis
2025-08-14 09:25:55 +08:00
committed by GitHub
parent 86528741f9
commit 23263231fd
+1 -1
View File
@@ -75,7 +75,7 @@ impl TcpListener {
/// the addresses succeed in creating a listener, the error returned from
/// the last attempt (the last address) is returned.
///
/// This function sets the `SO_REUSEADDR` option on the socket.
/// This function sets the `SO_REUSEADDR` option on the socket on Unix.
///
/// To configure the socket before binding, you can use the [`TcpSocket`]
/// type.