Skip to content

Commit

Permalink
Merge pull request #299 from dtolnay-contrib/deadcode
Browse files Browse the repository at this point in the history
Resolve dead code warnings in agenda-generator
  • Loading branch information
dtolnay committed Nov 23, 2023
2 parents 636682f + 7a3d445 commit 0e0ea5b
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions tools/agenda-generator/src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,6 @@ impl GithubQuery {
}

fn write(&mut self, generator: &mut Generator) -> Result<()> {
let mut empty = true;
for repo in &self.repos {
for labels in &self.labels {
let cs_labels = labels.join(",");
Expand Down Expand Up @@ -589,19 +588,9 @@ impl GithubQuery {
}
}

#[derive(Debug)]
struct Fcp<'a> {
title: &'a str,
repo: &'a str,
number: &'a str,
disposition: &'a str,
url: &'a str,
reviewers: Vec<&'a str>,
concerns: bool,
}

#[derive(Debug, Deserialize)]
struct Issue {
#[allow(dead_code)]
number: u32,
html_url: String,
title: String,
Expand Down

0 comments on commit 0e0ea5b

Please sign in to comment.