File tree 4 files changed +9
-9
lines changed
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
48
48
based on the option name, e.g. ` IP_ADD_MEMBERSHIP ` rather than
49
49
` join_multicast_v4 ` . Finally the last block contains platforms specific methods
50
50
such 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.
52
52
53
53
Other types are mostly defined in ` src/lib.rs ` , except for ` SockAddr ` and
54
54
` 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 {
1360
1360
/// NOTE: <https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-ip-socket-options>
1361
1361
/// documents that not all versions of windows support `IP_TOS`.
1362
1362
#[ cfg( not( any(
1363
- target_os = "fuschia " ,
1363
+ target_os = "fuchsia " ,
1364
1364
target_os = "redox" ,
1365
1365
target_os = "solaris" ,
1366
1366
target_os = "illumos" ,
@@ -1378,7 +1378,7 @@ impl Socket {
1378
1378
///
1379
1379
/// [`set_tos`]: Socket::set_tos
1380
1380
#[ cfg( not( any(
1381
- target_os = "fuschia " ,
1381
+ target_os = "fuchsia " ,
1382
1382
target_os = "redox" ,
1383
1383
target_os = "solaris" ,
1384
1384
target_os = "illumos" ,
@@ -1395,7 +1395,7 @@ impl Socket {
1395
1395
/// incoming packets. It contains a byte which specifies the
1396
1396
/// Type of Service/Precedence field of the packet header.
1397
1397
#[ cfg( not( any(
1398
- target_os = "fuschia " ,
1398
+ target_os = "fuchsia " ,
1399
1399
target_os = "illumos" ,
1400
1400
target_os = "netbsd" ,
1401
1401
target_os = "openbsd" ,
@@ -1421,7 +1421,7 @@ impl Socket {
1421
1421
///
1422
1422
/// [`set_recv_tos`]: Socket::set_recv_tos
1423
1423
#[ cfg( not( any(
1424
- target_os = "fuschia " ,
1424
+ target_os = "fuchsia " ,
1425
1425
target_os = "illumos" ,
1426
1426
target_os = "netbsd" ,
1427
1427
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};
78
78
#[ cfg( all( feature = "all" , not( target_os = "redox" ) ) ) ]
79
79
pub ( crate ) use libc:: IP_HDRINCL ;
80
80
#[ cfg( not( any(
81
- target_os = "fuschia " ,
81
+ target_os = "fuchsia " ,
82
82
target_os = "illumos" ,
83
83
target_os = "netbsd" ,
84
84
target_os = "openbsd" ,
@@ -87,7 +87,7 @@ pub(crate) use libc::IP_HDRINCL;
87
87
) ) ) ]
88
88
pub ( crate ) use libc:: IP_RECVTOS ;
89
89
#[ cfg( not( any(
90
- target_os = "fuschia " ,
90
+ target_os = "fuchsia " ,
91
91
target_os = "redox" ,
92
92
target_os = "solaris" ,
93
93
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));
1162
1162
test ! ( IPv4 ttl, set_ttl( 40 ) ) ;
1163
1163
1164
1164
#[ cfg( not( any(
1165
- target_os = "fuschia " ,
1165
+ target_os = "fuchsia " ,
1166
1166
target_os = "redox" ,
1167
1167
target_os = "solaris" ,
1168
1168
target_os = "illumos" ,
1169
1169
) ) ) ]
1170
1170
test ! ( IPv4 tos, set_tos( 96 ) ) ;
1171
1171
1172
1172
#[ cfg( not( any(
1173
- target_os = "fuschia " ,
1173
+ target_os = "fuchsia " ,
1174
1174
target_os = "illumos" ,
1175
1175
target_os = "netbsd" ,
1176
1176
target_os = "redox" ,
You can’t perform that action at this time.
0 commit comments