Skip to content

Commit 0cf26e8

Browse files
authored
Merge pull request #1961 from Kobzol/fix-pr-count
Fix assigned PR count in Zulip message
2 parents e2ebb7b + e9fa830 commit 0cf26e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zulip.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ async fn workqueue_commands(
294294

295295
let mut response = format!(
296296
"`rust-lang/rust` PRs in your review queue: {prs} ({} {})\n",
297-
prs.len(),
298-
pluralize("PR", prs.len())
297+
assigned_prs.len(),
298+
pluralize("PR", assigned_prs.len())
299299
);
300300
writeln!(response, "Review capacity: {capacity}\n")?;
301301
writeln!(response, "*Note that only selected PRs that are assigned to you are considered as being in the review queue.*")?;

0 commit comments

Comments
 (0)