🔧 Fix all unused_mut warnings: 16 instances cleaned up
- Remove unnecessary 'mut' from variable declarations - Clean up code in boxes/, interpreter/, mir/, backend/, and runtime/ - No functional changes, just cleaner code
This commit is contained in:
@ -108,7 +108,7 @@ impl P2PBox {
|
||||
// Create transport and attach receive callback before boxing
|
||||
let (transport_boxed, attach_cb): (Box<dyn Transport>, bool) = match transport_kind {
|
||||
TransportKind::InProcess => {
|
||||
let mut t = InProcessTransport::new(node_id.clone());
|
||||
let t = InProcessTransport::new(node_id.clone());
|
||||
// We'll attach callback below after P2PBox struct is created
|
||||
(Box::new(t), true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user