We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3919c4f commit c3955e4Copy full SHA for c3955e4
std/src/sys/pal/xous/net/dns.rs
@@ -6,6 +6,7 @@ use crate::os::xous::ffi::lend_mut;
6
use crate::os::xous::services::{DnsLendMut, dns_server};
7
8
pub struct DnsError {
9
+ #[allow(dead_code)]
10
pub code: u8,
11
}
12
std/src/sys/pal/xous/net/mod.rs
@@ -60,6 +60,7 @@ pub mod netc {
60
61
#[derive(Copy, Clone)]
62
pub struct sockaddr_in {
63
64
pub sin_family: sa_family_t,
65
pub sin_port: u16,
66
pub sin_addr: in_addr,
@@ -72,6 +73,7 @@ pub mod netc {
72
73
74
75
pub struct sockaddr_in6 {
76
77
pub sin6_family: sa_family_t,
78
pub sin6_port: u16,
79
pub sin6_addr: in6_addr,
0 commit comments