mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +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 {
|
||||
/// DnsServerManager is a service of the Net crate that automatically updates the DNS server list
|
||||
mgr: net::DnsServerManager,
|
||||
mgr: net::protocols::DnsServerManager,
|
||||
socket: UdpSocket,
|
||||
buf: [u8; DNS_PKT_MAX_LEN],
|
||||
trng: trng::Trng,
|
||||
|
|
@ -328,7 +328,7 @@ impl Resolver {
|
|||
// blocking is probably what we actually want this time.
|
||||
|
||||
Resolver {
|
||||
mgr: net::DnsServerManager::register(&xns)
|
||||
mgr: net::protocols::DnsServerManager::register(&xns)
|
||||
.expect("Couldn't register the DNS server list auto-manager"),
|
||||
socket,
|
||||
buf: [0; DNS_PKT_MAX_LEN],
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ use xous_ipc::Buffer;
|
|||
use num_traits::*;
|
||||
|
||||
pub mod protocols;
|
||||
pub use protocols::*;
|
||||
pub use smoltcp::time::Duration;
|
||||
pub use api::*;
|
||||
pub use smoltcp::wire::IpEndpoint;
|
||||
|
|
|
|||
Loading…
Reference in a new issue