We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d48338 commit bd24b6cCopy full SHA for bd24b6c
src/socket.rs
@@ -52,7 +52,7 @@ use crate::{Domain, Protocol, SockAddr, Type};
52
///
53
/// // On platforms that support it set `SOCK_CLOEXEC`.
54
/// #[cfg(any(target_os = "android", target_os = "dragonfly", target_os = "freebsd", target_os = "linux", target_os = "netbsd", target_os = "openbsd"))]
55
-/// let protocol = protocol.cloexec();
+/// let ty = ty.cloexec();
56
57
/// let socket = Socket::new(domain, ty, Some(protocol))?;
58
0 commit comments