File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ where each block contains a single level. The methods in these block are sorted
4848based on the option name, e.g. ` IP_ADD_MEMBERSHIP ` rather than
4949` join_multicast_v4 ` . Finally the last block contains platforms specific methods
5050such as ` Socket::freebind ` which is (at the time of writing) only available on
51- Android, Linux and Fuschia , which is defined in the ` src/sys/*.rs ` files.
51+ Android, Linux and Fuchsia , which is defined in the ` src/sys/*.rs ` files.
5252
5353Other types are mostly defined in ` src/lib.rs ` , except for ` SockAddr ` and
5454` SockRef ` which have there own file. These types follow the same structure as
Original file line number Diff line number Diff line change @@ -1360,7 +1360,7 @@ impl Socket {
13601360 /// NOTE: <https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-ip-socket-options>
13611361 /// documents that not all versions of windows support `IP_TOS`.
13621362 #[ cfg( not( any(
1363- target_os = "fuschia " ,
1363+ target_os = "fuchsia " ,
13641364 target_os = "redox" ,
13651365 target_os = "solaris" ,
13661366 target_os = "illumos" ,
@@ -1378,7 +1378,7 @@ impl Socket {
13781378 ///
13791379 /// [`set_tos`]: Socket::set_tos
13801380 #[ cfg( not( any(
1381- target_os = "fuschia " ,
1381+ target_os = "fuchsia " ,
13821382 target_os = "redox" ,
13831383 target_os = "solaris" ,
13841384 target_os = "illumos" ,
@@ -1395,7 +1395,7 @@ impl Socket {
13951395 /// incoming packets. It contains a byte which specifies the
13961396 /// Type of Service/Precedence field of the packet header.
13971397 #[ cfg( not( any(
1398- target_os = "fuschia " ,
1398+ target_os = "fuchsia " ,
13991399 target_os = "illumos" ,
14001400 target_os = "netbsd" ,
14011401 target_os = "openbsd" ,
@@ -1421,7 +1421,7 @@ impl Socket {
14211421 ///
14221422 /// [`set_recv_tos`]: Socket::set_recv_tos
14231423 #[ cfg( not( any(
1424- target_os = "fuschia " ,
1424+ target_os = "fuchsia " ,
14251425 target_os = "illumos" ,
14261426 target_os = "netbsd" ,
14271427 target_os = "openbsd" ,
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ pub(crate) use libc::{MSG_TRUNC, SO_OOBINLINE};
7878#[ cfg( all( feature = "all" , not( target_os = "redox" ) ) ) ]
7979pub ( crate ) use libc:: IP_HDRINCL ;
8080#[ cfg( not( any(
81- target_os = "fuschia " ,
81+ target_os = "fuchsia " ,
8282 target_os = "illumos" ,
8383 target_os = "netbsd" ,
8484 target_os = "openbsd" ,
@@ -87,7 +87,7 @@ pub(crate) use libc::IP_HDRINCL;
8787) ) ) ]
8888pub ( crate ) use libc:: IP_RECVTOS ;
8989#[ cfg( not( any(
90- target_os = "fuschia " ,
90+ target_os = "fuchsia " ,
9191 target_os = "redox" ,
9292 target_os = "solaris" ,
9393 target_os = "illumos" ,
Original file line number Diff line number Diff line change @@ -1162,15 +1162,15 @@ test!(IPv6 freebind_ipv6, set_freebind_ipv6(true));
11621162test ! ( IPv4 ttl, set_ttl( 40 ) ) ;
11631163
11641164#[ cfg( not( any(
1165- target_os = "fuschia " ,
1165+ target_os = "fuchsia " ,
11661166 target_os = "redox" ,
11671167 target_os = "solaris" ,
11681168 target_os = "illumos" ,
11691169) ) ) ]
11701170test ! ( IPv4 tos, set_tos( 96 ) ) ;
11711171
11721172#[ cfg( not( any(
1173- target_os = "fuschia " ,
1173+ target_os = "fuchsia " ,
11741174 target_os = "illumos" ,
11751175 target_os = "netbsd" ,
11761176 target_os = "redox" ,
You can’t perform that action at this time.
0 commit comments