Skip to content

Commit bba8b53

Browse files
committed
Remove more unused code
1 parent 43c4772 commit bba8b53

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

src/github.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,6 @@ pub struct CommitBase {
12741274
#[derive(Debug, serde::Deserialize)]
12751275
pub struct IssueSearchResult {
12761276
pub total_count: u64,
1277-
pub incomplete_results: bool,
12781277
pub items: Vec<Issue>,
12791278
}
12801279

src/interactions.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,26 +38,6 @@ impl<'a> ErrorComment<'a> {
3838
}
3939
}
4040

41-
pub struct PingComment<'a> {
42-
issue: &'a Issue,
43-
users: &'a [&'a str],
44-
}
45-
46-
impl<'a> PingComment<'a> {
47-
pub fn new(issue: &'a Issue, users: &'a [&str]) -> PingComment<'a> {
48-
PingComment { issue, users }
49-
}
50-
51-
pub async fn post(&self, client: &GithubClient) -> anyhow::Result<()> {
52-
let mut body = String::new();
53-
for user in self.users {
54-
write!(body, "@{} ", user)?;
55-
}
56-
self.issue.post_comment(client, &body).await?;
57-
Ok(())
58-
}
59-
}
60-
6141
pub struct EditIssueBody<'a, T>
6242
where
6343
T: for<'t> Deserialize<'t> + Serialize + Default + std::fmt::Debug + Sync + PartialEq + Clone,

0 commit comments

Comments
 (0)