From feae1789a9c12761ee90dcfdd9c380f8079448c8 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Sat, 30 Mar 2024 18:55:16 +0000 Subject: [PATCH] Remove dbg! --- crates/librqbit/src/chunk_tracker.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/crates/librqbit/src/chunk_tracker.rs b/crates/librqbit/src/chunk_tracker.rs index 4f4644d..8f03dd9 100644 --- a/crates/librqbit/src/chunk_tracker.rs +++ b/crates/librqbit/src/chunk_tracker.rs @@ -339,14 +339,13 @@ impl ChunkTracker { match (current_piece_selected, current_piece_have) { (true, true) => {} (true, false) => { - dbg!(self.mark_piece_broken_if_not_have(current_piece.piece_index)) + self.mark_piece_broken_if_not_have(current_piece.piece_index) } (false, true) => {} (false, false) => { // don't need the piece, and don't have it - cancel downloading it - dbg!(self - .queue_pieces - .set(current_piece.piece_index.get() as usize, false)); + self.queue_pieces + .set(current_piece.piece_index.get() as usize, false); } }