summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-05-22 14:21:11 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-05-22 14:21:11 +0000
commitd52227f436b86984b354eee7d57d9a78abad2369 (patch)
treef43abc7e6874df5311745bea516294752238ca22
parent8a5a7625132b7ec9c3334fbf10b78123dbc0ee48 (diff)
parentdcd7947ba784d6b8cb41267f224cb0c15cf138bc (diff)
downloadnix-d52227f436b86984b354eee7d57d9a78abad2369.zip
Merge #904
904: Typo r=asomers a=bestouff Co-authored-by: Xavier Bestel <xavier.bestel@free.fr>
-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`,