Skip to content

Commit fdf65ee

Browse files
Fix clippy lints
1 parent 48c087c commit fdf65ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/server/github.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,16 @@ pub struct Issue {
189189
pub number: i32,
190190
pub url: String,
191191
pub html_url: String,
192+
// used in some targets
193+
#[allow(unused)]
192194
pub labels: Vec<Label>,
193195
pub pull_request: Option<PullRequest>,
194196
}
195197

196198
#[derive(Deserialize)]
197199
pub struct PullRequest {
200+
// used in some targets
201+
#[allow(unused)]
198202
pub html_url: String,
199203
}
200204

@@ -231,6 +235,8 @@ pub struct Team {
231235

232236
#[derive(Deserialize)]
233237
pub struct Commit {
238+
// used in some targets
239+
#[allow(unused)]
234240
pub sha: String,
235241
pub parents: Vec<CommitParent>,
236242
}

0 commit comments

Comments
 (0)