From dcd7947ba784d6b8cb41267f224cb0c15cf138bc Mon Sep 17 00:00:00 2001 From: Xavier Bestel Date: Tue, 22 May 2018 15:38:21 +0200 Subject: Typo --- src/sys/socket/sockopt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sys') 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`, -- cgit v1.2.3