Allowing some dead code features because they are there for future use (potentially)

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2024-11-04 18:03:18 +11:00
parent 201c8a4e7b
commit 191e62c500
3 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
use atomic_counter::RelaxedCounter;
use crate::downloads::progress::ProgressChecker;
use std::sync::atomic::{AtomicBool, AtomicUsize};
use std::sync::atomic::AtomicBool;
use std::sync::Arc;
#[test]
@ -20,6 +20,6 @@ fn test_progress_parallel() {
p.run_contexts_parallel_background((1..100).collect(), 10);
}
fn test_fn(int: usize, callback: Arc<AtomicBool>, counter: Arc<RelaxedCounter>) {
fn test_fn(int: usize, _callback: Arc<AtomicBool>, _counter: Arc<RelaxedCounter>) {
println!("{}", int);
}