@@ -21,7 +21,6 @@ struct ConcernData {
21
21
#[ derive( Debug , PartialEq , Eq , Clone , serde:: Serialize , serde:: Deserialize ) ]
22
22
struct Concern {
23
23
title : String ,
24
- author : String ,
25
24
comment_url : String ,
26
25
status : ConcernStatus ,
27
26
}
@@ -44,7 +43,6 @@ pub(super) async fn handle_command(
44
43
let Some ( comment_url) = event. html_url ( ) else {
45
44
bail ! ( "unable to retrieve the comment url" )
46
45
} ;
47
- let author = event. user ( ) . login . to_owned ( ) ;
48
46
let issue = & issue_comment. issue ;
49
47
50
48
// Verify that this issue isn't a rfcbot FCP, skip if it is
@@ -100,7 +98,6 @@ pub(super) async fn handle_command(
100
98
{
101
99
concern_data. concerns . push ( Concern {
102
100
title,
103
- author,
104
101
status : ConcernStatus :: Active ,
105
102
comment_url : comment_url. to_string ( ) ,
106
103
} ) ;
@@ -185,7 +182,6 @@ fn markdown_content(concerns: &[Concern], bot: &str) -> String {
185
182
186
183
for & Concern {
187
184
ref title,
188
- author : _,
189
185
ref status,
190
186
ref comment_url,
191
187
} in concerns
@@ -216,13 +212,11 @@ fn simple_markdown_content() {
216
212
let concerns = & [
217
213
Concern {
218
214
title : "This is my concern about concern" . to_string ( ) ,
219
- author : "Urgau" . to_string ( ) ,
220
215
status : ConcernStatus :: Active ,
221
216
comment_url : "https://github.com/fake-comment-1234" . to_string ( ) ,
222
217
} ,
223
218
Concern {
224
219
title : "This is a resolved concern" . to_string ( ) ,
225
- author : "Kobzol" . to_string ( ) ,
226
220
status : ConcernStatus :: Resolved {
227
221
comment_url : "https:://github.com/fake-comment-8888" . to_string ( ) ,
228
222
} ,
@@ -248,7 +242,6 @@ fn simple_markdown_content() {
248
242
fn resolved_concerns_markdown_content ( ) {
249
243
let concerns = & [ Concern {
250
244
title : "This is a resolved concern" . to_string ( ) ,
251
- author : "Kobzol" . to_string ( ) ,
252
245
status : ConcernStatus :: Resolved {
253
246
comment_url : "https:://github.com/fake-comment-8888" . to_string ( ) ,
254
247
} ,
0 commit comments