Skip to content

Commit c3b7882

Browse files
Remove unused docs
1 parent f527aa7 commit c3b7882

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/sys/windows.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -879,16 +879,7 @@ pub(crate) fn original_dst(socket: Socket) -> io::Result<SockAddr> {
879879
.map(|(_, addr)| addr)
880880
}
881881

882-
/// Get the value for the `IP6T_SO_ORIGINAL_DST` option on this socket.
883-
/// Only valid for sockets in accepting mode.
884-
///
885-
/// Note: if using this function in a proxy context, you must query the
886-
/// redirect records for this socket and set them on the outbound socket
887-
/// created by your proxy in order for any OS level firewall rules to be
888-
/// applied. Read more in the Windows bind and connect redirection
889-
/// [documentation](https://learn.microsoft.com/en-us/windows-hardware/drivers/network/using-bind-or-connect-redirection).
890882
#[cfg(feature = "all")]
891-
#[cfg_attr(docsrs, doc(cfg(all(windows, feature = "all"))))]
892883
pub(crate) fn original_dst_ipv6(socket: Socket) -> io::Result<SockAddr> {
893884
unsafe {
894885
SockAddr::try_init(|storage, len| {

0 commit comments

Comments
 (0)