diff options
author | Xavier Bestel <xavier.bestel@free.fr> | 2018-05-22 15:38:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 15:38:21 +0200 |
commit | dcd7947ba784d6b8cb41267f224cb0c15cf138bc (patch) | |
tree | f43abc7e6874df5311745bea516294752238ca22 | |
parent | 8a5a7625132b7ec9c3334fbf10b78123dbc0ee48 (diff) | |
download | nix-dcd7947ba784d6b8cb41267f224cb0c15cf138bc.zip |
Typo
-rw-r--r-- | src/sys/socket/sockopt.rs | 2 |
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`, |