Skip to content

Commit

Permalink
Remove unused field warnings in test-parse-unittests.
Browse files Browse the repository at this point in the history
The fields `UID` and `int` are not used, however, they are part of the
file format and should not be removed.
  • Loading branch information
Alexhuszagh committed May 14, 2022
1 parent d8c87cd commit 8527701
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ struct StrtodTests {
ConversionTests: Vec<ConversionTest>,
}

#[allow(dead_code)]
#[derive(Debug, Deserialize)]
struct FormattingTest {
UID: String,
Expand All @@ -24,6 +25,7 @@ struct FormattingTest {
int: String,
}

#[allow(dead_code)]
#[derive(Debug, Deserialize)]
struct ConversionTest {
UID: String,
Expand Down

0 comments on commit 8527701

Please sign in to comment.