File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -291,12 +291,6 @@ async fn workqueue_commands(
291
291
. collect :: < Vec < _ > > ( ) ;
292
292
assigned_prs. sort ( ) ;
293
293
294
- let prs = assigned_prs
295
- . iter ( )
296
- . map ( |pr| format ! ( "#{pr}" ) )
297
- . collect :: < Vec < String > > ( )
298
- . join ( ", " ) ;
299
-
300
294
let review_prefs = get_review_prefs ( & db_client, gh_id)
301
295
. await
302
296
. context ( "cannot get review preferences" ) ?;
@@ -313,8 +307,13 @@ async fn workqueue_commands(
313
307
RotationMode :: OffRotation => "off rotation" ,
314
308
} ;
315
309
310
+ let prs = assigned_prs
311
+ . iter ( )
312
+ . map ( |pr| format ! ( "- [#{pr}](https://github.com/rust-lang/rust/pull/{pr})" ) )
313
+ . collect :: < Vec < String > > ( )
314
+ . join ( ", " ) ;
316
315
let mut response = format ! (
317
- "`rust-lang/rust` PRs in your review queue: {prs} ({} {})\n " ,
316
+ "`rust-lang/rust` PRs in your review queue ({} {}): \n {prs} \n " ,
318
317
assigned_prs. len( ) ,
319
318
pluralize( "PR" , assigned_prs. len( ) )
320
319
) ;
You can’t perform that action at this time.
0 commit comments