mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
cleanup Rust lint that appeared in 1.70
This commit is contained in:
parent
12acdbef5b
commit
39cd7f8b0a
2 changed files with 2 additions and 3 deletions
|
|
@ -307,7 +307,7 @@ impl Message {
|
||||||
|
|
||||||
pub struct Resolver {
|
pub struct Resolver {
|
||||||
/// DnsServerManager is a service of the Net crate that automatically updates the DNS server list
|
/// DnsServerManager is a service of the Net crate that automatically updates the DNS server list
|
||||||
mgr: net::DnsServerManager,
|
mgr: net::protocols::DnsServerManager,
|
||||||
socket: UdpSocket,
|
socket: UdpSocket,
|
||||||
buf: [u8; DNS_PKT_MAX_LEN],
|
buf: [u8; DNS_PKT_MAX_LEN],
|
||||||
trng: trng::Trng,
|
trng: trng::Trng,
|
||||||
|
|
@ -328,7 +328,7 @@ impl Resolver {
|
||||||
// blocking is probably what we actually want this time.
|
// blocking is probably what we actually want this time.
|
||||||
|
|
||||||
Resolver {
|
Resolver {
|
||||||
mgr: net::DnsServerManager::register(&xns)
|
mgr: net::protocols::DnsServerManager::register(&xns)
|
||||||
.expect("Couldn't register the DNS server list auto-manager"),
|
.expect("Couldn't register the DNS server list auto-manager"),
|
||||||
socket,
|
socket,
|
||||||
buf: [0; DNS_PKT_MAX_LEN],
|
buf: [0; DNS_PKT_MAX_LEN],
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ use xous_ipc::Buffer;
|
||||||
use num_traits::*;
|
use num_traits::*;
|
||||||
|
|
||||||
pub mod protocols;
|
pub mod protocols;
|
||||||
pub use protocols::*;
|
|
||||||
pub use smoltcp::time::Duration;
|
pub use smoltcp::time::Duration;
|
||||||
pub use api::*;
|
pub use api::*;
|
||||||
pub use smoltcp::wire::IpEndpoint;
|
pub use smoltcp::wire::IpEndpoint;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue