Skip to content

Commit

Permalink
tools: Ignore some false-positive warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
heinrich5991 committed May 13, 2024
1 parent c21ba83 commit 30f5a39
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/src/bin/ddnet_properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use std::io;
use std::path::Path;
use std::process;

#[allow(dead_code)] // We add fields just for their `Debug` implementation.
#[derive(Debug)]
struct Error(libtw2_map::Error);

Expand Down
1 change: 1 addition & 0 deletions tools/src/bin/teehistorian_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use std::slice;
use uuid::Uuid;
use walkdir::WalkDir;

#[allow(dead_code)] // We add fields just for their `Debug` implementation.
#[derive(Debug)]
enum Error {
Csv(csv::Error),
Expand Down
1 change: 1 addition & 0 deletions tools/src/bin/teehistorian_index_resetfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use std::slice;
use uuid::Uuid;
use walkdir::WalkDir;

#[allow(dead_code)] // We add fields just for their `Debug` implementation.
#[derive(Debug)]
enum Error {
Csv(csv::Error),
Expand Down
1 change: 1 addition & 0 deletions tools/src/bin/teehistorian_nonsolo_solo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use std::process;
use uuid::Uuid;
use walkdir::WalkDir;

#[allow(dead_code)] // We add fields just for their `Debug` implementation.
#[derive(Debug)]
enum Error {
Csv(csv::Error),
Expand Down

0 comments on commit 30f5a39

Please sign in to comment.