Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Mar 31, 2024
1 parent 48c087c commit fdf65ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/server/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,16 @@ pub struct Issue {
pub number: i32,
pub url: String,
pub html_url: String,
// used in some targets
#[allow(unused)]
pub labels: Vec<Label>,
pub pull_request: Option<PullRequest>,
}

#[derive(Deserialize)]
pub struct PullRequest {
// used in some targets
#[allow(unused)]
pub html_url: String,
}

Expand Down Expand Up @@ -231,6 +235,8 @@ pub struct Team {

#[derive(Deserialize)]
pub struct Commit {
// used in some targets
#[allow(unused)]
pub sha: String,
pub parents: Vec<CommitParent>,
}
Expand Down

0 comments on commit fdf65ee

Please sign in to comment.