Skip to content

Commit 2403ea6

Browse files
runningcodeclaude
andcommitted
fix: resolve clippy warnings in vcs.rs
Remove unused structs and imports that were causing dead code warnings. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4c37daf commit 2403ea6

1 file changed

Lines changed: 1 addition & 18 deletions

File tree

src/utils/vcs.rs

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,10 @@ use if_chain::if_chain;
1010
use lazy_static::lazy_static;
1111
use log::{debug, info, warn};
1212
use regex::Regex;
13-
use serde::Deserialize;
13+
use serde_json::Value;
1414

1515
use crate::api::{GitCommit, PatchSet, Ref, Repo};
1616

17-
/// Represents the structure of a GitHub Actions event payload for pull requests
18-
#[derive(Deserialize, Debug)]
19-
struct GitHubEventPayload {
20-
pull_request: Option<GitHubPullRequest>,
21-
}
22-
23-
/// Represents the pull request object in the GitHub event payload
24-
#[derive(Deserialize, Debug)]
25-
struct GitHubPullRequest {
26-
head: GitHubHead,
27-
}
28-
29-
/// Represents the head object in the GitHub pull request
30-
#[derive(Deserialize, Debug)]
31-
struct GitHubHead {
32-
sha: String,
33-
}
3417

3518
#[derive(Copy, Clone)]
3619
pub enum GitReference<'a> {

0 commit comments

Comments
 (0)