Skip to content

Commit d762efb

Browse files
BerrysoftThomasdezeeuw
authored andcommitted
Fix doc of protocol.
1 parent 9bd531f commit d762efb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sys/windows.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,8 @@ impl crate::Socket {
925925

926926
/// Returns the [`Protocol`] of this socket by checking the `SO_PROTOCOL_INFOW`
927927
/// option on this socket.
928+
///
929+
/// [`Protocol`]: crate::Protocol
928930
#[cfg(feature = "all")]
929931
pub fn protocol(&self) -> io::Result<Option<crate::Protocol>> {
930932
let info = unsafe {

0 commit comments

Comments
 (0)