File tree Expand file tree Collapse file tree 4 files changed +4
-62
lines changed Expand file tree Collapse file tree 4 files changed +4
-62
lines changed Original file line number Diff line number Diff line change @@ -1274,7 +1274,6 @@ pub struct CommitBase {
1274
1274
#[ derive( Debug , serde:: Deserialize ) ]
1275
1275
pub struct IssueSearchResult {
1276
1276
pub total_count : u64 ,
1277
- pub incomplete_results : bool ,
1278
1277
pub items : Vec < Issue > ,
1279
1278
}
1280
1279
Original file line number Diff line number Diff line change @@ -38,26 +38,6 @@ impl<'a> ErrorComment<'a> {
38
38
}
39
39
}
40
40
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
-
61
41
pub struct EditIssueBody < ' a , T >
62
42
where
63
43
T : for < ' t > Deserialize < ' t > + Serialize + Default + std:: fmt:: Debug + Sync + PartialEq + Clone ,
Original file line number Diff line number Diff line change @@ -8,19 +8,18 @@ use interactions::ErrorComment;
8
8
use std:: fmt;
9
9
use tracing as log;
10
10
11
- pub mod actions;
11
+ mod actions;
12
12
pub mod agenda;
13
13
mod changelogs;
14
- pub mod config;
14
+ mod config;
15
15
pub mod db;
16
16
pub mod github;
17
17
pub mod handlers;
18
- pub mod interactions;
18
+ mod interactions;
19
19
pub mod jobs;
20
20
pub mod notification_listing;
21
21
pub mod payload;
22
- pub mod rfcbot;
23
- pub mod team;
22
+ mod rfcbot;
24
23
mod team_data;
25
24
pub mod triage;
26
25
mod utils;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments