Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <[email protected]>
  • Loading branch information
Licenser committed May 30, 2022
1 parent 3971888 commit b898218
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use serde::Deserialize;
use crate::error::Error;

// TODO The name is horrible here. pls help
#[allow(dead_code)]
#[derive(Deserialize, Debug)]
pub struct WholeReport {
metadata: Metadata,
Expand All @@ -33,6 +34,7 @@ struct Reports {
bench: Vec<SingleReport>,
}

#[allow(dead_code)]
#[derive(Deserialize, Debug)]
struct SingleReport {
description: String,
Expand All @@ -44,6 +46,7 @@ struct Element {
bench: Bench,
}

#[allow(dead_code)]
#[derive(Deserialize, Debug)]
struct Bench {
name: String,
Expand All @@ -55,6 +58,7 @@ struct Bench {
}

#[derive(Deserialize, Debug)]
#[allow(dead_code)]
struct Evidence {
#[serde(rename = "test: stdout")]
stdout: String,
Expand All @@ -63,6 +67,7 @@ struct Evidence {
}

#[derive(Deserialize, Debug)]
#[allow(dead_code)]
struct Metadata {
allocator: String,
repository: String,
Expand All @@ -75,6 +80,7 @@ struct Metadata {
}

#[derive(Deserialize, Debug)]
#[allow(dead_code)]
struct Stats {
command: Stat,
all: Stat,
Expand All @@ -84,6 +90,7 @@ struct Stats {
}

#[derive(Deserialize, Debug)]
#[allow(dead_code)]
struct Stat {
pass: u16,
fail: u16,
Expand Down

0 comments on commit b898218

Please sign in to comment.