diff --git a/examples/spv_children_comm.rs b/examples/spv_children_comm.rs index 55f6ffe3..0cdfcc2d 100644 --- a/examples/spv_children_comm.rs +++ b/examples/spv_children_comm.rs @@ -22,7 +22,7 @@ fn main() { let tx = p.bcast_tx.as_ref().unwrap().clone(); - tx.send(Box::new(new_msg)); + let _ = tx.send(Box::new(new_msg)); let rx = p.bcast_rx.clone().unwrap(); if let Ok(message) = rx.try_recv() { diff --git a/src/context.rs b/src/context.rs index 36fa3824..117a95bf 100644 --- a/src/context.rs +++ b/src/context.rs @@ -8,7 +8,6 @@ use crate::child::{BastionChildren, BastionClosure, Message}; use crate::messages::PoisonPill; -use crate::spawn::RuntimeSpawn; use crate::supervisor::Supervisor; use crossbeam_channel::{Receiver, Sender}; use ratelimit::Limiter;