chore: remove all warnings

This commit is contained in:
Michel de Graaf
2025-07-31 20:41:05 +02:00
parent 4302d74847
commit 6431630510
14 changed files with 26 additions and 13 deletions
+6
View File
@@ -8,13 +8,16 @@ use std::thread::sleep;
use std::time::Duration;
#[derive(Debug)]
#[allow(dead_code)]
struct DownloadPaths {
final_path: String,
incomplete_path: String,
}
#[allow(dead_code)]
struct FileManager;
#[allow(dead_code)]
impl FileManager {
fn create_download_paths(
output_path: Option<String>,
@@ -57,6 +60,7 @@ impl FileManager {
}
}
#[allow(dead_code)]
struct StreamProcessor {
no_pierce: bool,
token: u32,
@@ -64,6 +68,7 @@ struct StreamProcessor {
received: bool,
}
#[allow(dead_code)]
impl StreamProcessor {
fn new(no_pierce: bool, token: u32) -> Self {
Self {
@@ -125,6 +130,7 @@ pub struct DownloadPeer {
no_pierce: bool,
}
#[allow(dead_code)]
impl DownloadPeer {
#[allow(dead_code)]
pub fn new(