Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexclique committed Sep 29, 2019
1 parent 6493ff8 commit 2e4e18c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion examples/spv_children_comm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
1 change: 0 additions & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2e4e18c

Please sign in to comment.