summaryrefslogtreecommitdiff
path: root/src/sys/socket/sockopt.rs
diff options
context:
space:
mode:
authorXavier Bestel <xavier.bestel@free.fr>2018-05-22 15:38:21 +0200
committerGitHub <noreply@github.com>2018-05-22 15:38:21 +0200
commitdcd7947ba784d6b8cb41267f224cb0c15cf138bc (patch)
treef43abc7e6874df5311745bea516294752238ca22 /src/sys/socket/sockopt.rs
parent8a5a7625132b7ec9c3334fbf10b78123dbc0ee48 (diff)
downloadnix-dcd7947ba784d6b8cb41267f224cb0c15cf138bc.zip
Typo
Diffstat (limited to 'src/sys/socket/sockopt.rs')
-rw-r--r--src/sys/socket/sockopt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/socket/sockopt.rs b/src/sys/socket/sockopt.rs
index cbfd9249..cc156272 100644
--- a/src/sys/socket/sockopt.rs
+++ b/src/sys/socket/sockopt.rs
@@ -19,7 +19,7 @@ use std::os::unix::io::RawFd;
///
/// * `$name:ident`: name of the type you want to implement `SetSockOpt` for.
/// * `$level:path` : socket layer, or a `protocol level`: could be *raw sockets*
-/// (`lic::SOL_SOCKET`), *ip protocol* (libc::IPPROTO_IP), *tcp protocol* (`libc::IPPROTO_TCP`),
+/// (`libc::SOL_SOCKET`), *ip protocol* (libc::IPPROTO_IP), *tcp protocol* (`libc::IPPROTO_TCP`),
/// and more. Please refer to your system manual for more options. Will be passed as the second
/// argument (`level`) to the `setsockopt` call.
/// * `$flag:path`: a flag name to set. Some examples: `libc::SO_REUSEADDR`, `libc::TCP_NODELAY`,