remove comments and unused imports

This commit is contained in:
mfahampshire
2025-10-17 12:50:13 +01:00
parent 08d49a6f2e
commit bc52db53b7
2 changed files with 1 additions and 5 deletions
@@ -300,7 +300,6 @@ impl IpMixStream {
(
IpMixStreamReader {
stream_reader,
// ipr_address: self.ipr_address,
listener: self.listener,
allocated_ips: self.allocated_ips.clone(),
connection_state: self.connection_state.clone(),
@@ -309,7 +308,6 @@ impl IpMixStream {
},
IpMixStreamWriter {
stream_writer,
// ipr_address: self.ipr_address,
local_addr,
allocated_ips: self.allocated_ips,
connection_state: self.connection_state,
@@ -356,7 +354,6 @@ impl AsyncWrite for IpMixStream {
pub struct IpMixStreamReader {
stream_reader: MixStreamReader,
// ipr_address: IpPacketRouterAddress,
listener: IprListener,
allocated_ips: Option<IpPair>,
connection_state: ConnectionState,
@@ -432,7 +429,6 @@ impl AsyncRead for IpMixStreamReader {
pub struct IpMixStreamWriter {
stream_writer: MixStreamWriter,
// ipr_address: IpPacketRouterAddress,
local_addr: Recipient,
allocated_ips: Option<IpPair>,
connection_state: ConnectionState,
+1 -1
View File
@@ -7,7 +7,7 @@ use smoltcp::{
};
use std::collections::VecDeque;
use tokio::sync::mpsc;
use tracing::{debug, info, trace, warn};
use tracing::{info, warn};
/// # Overview
/// We need something to bridge the async / sync weirdness (Device trait fns are sync, IpMixStream fns are