diff --git a/src/github_graphql/mod.rs b/src/github_graphql/mod.rs index b6c185d..4e1af8f 100644 --- a/src/github_graphql/mod.rs +++ b/src/github_graphql/mod.rs @@ -164,7 +164,7 @@ pub async fn format_contributors_to_md(pull_requests: &[PullRequest]) -> String fn unify_contributors(contributors: String) -> String { let mut contributors_set = HashSet::new(); contributors.split('\n').for_each(|contributor| { - if !contributors_set.contains(contributor) { + if !contributors_set.contains(contributor) && !contributor.is_empty() { contributors_set.insert(contributor); } }); diff --git a/templates/example.md b/templates/example.md index 6d8286a..cd9d1b1 100644 --- a/templates/example.md +++ b/templates/example.md @@ -1,25 +1,22 @@ # rust-lang/rust - 1.73.0 (2023-08-07) -- [Issue numbers are enforced on active features; remove FIXME](https://github.com/rust-lang/rust/pull/114556) -- [Remove FIXME about NLL diagnostic that is already improved](https://github.com/rust-lang/rust/pull/114558) -- [update Miri](https://github.com/rust-lang/rust/pull/114560) -- [stabilize abi_thiscall](https://github.com/rust-lang/rust/pull/114562) -- [Rollup of 6 pull requests](https://github.com/rust-lang/rust/pull/114565) -- [Rollup of 8 pull requests](https://github.com/rust-lang/rust/pull/114569) -- [[miri][typo] Fix a typo in a vector_block comment.](https://github.com/rust-lang/rust/pull/114570) -- [CI: do not hide error logs in a group](https://github.com/rust-lang/rust/pull/114573) -- [:arrow_up: `rust-analyzer`](https://github.com/rust-lang/rust/pull/114576) -- [Rollup of 9 pull requests](https://github.com/rust-lang/rust/pull/114585) +- [Rollup of 8 pull requests](https://github.com/rust-lang/rust/pull/114569) - [@matthiaskrgr](https://github.com/matthiaskrgr) +- [[miri][typo] Fix a typo in a vector_block comment.](https://github.com/rust-lang/rust/pull/114570) - [@ttsugriy](https://github.com/ttsugriy) +- [CI: do not hide error logs in a group](https://github.com/rust-lang/rust/pull/114573) - [@Kobzol](https://github.com/Kobzol) +- [:arrow_up: `rust-analyzer`](https://github.com/rust-lang/rust/pull/114576) - [@lnicola](https://github.com/lnicola) +- [rustc_interface: Dismantle `register_plugins` query](https://github.com/rust-lang/rust/pull/114578) - [@petrochenkov](https://github.com/petrochenkov) +- [Rollup of 9 pull requests](https://github.com/rust-lang/rust/pull/114585) - [@matthiaskrgr](https://github.com/matthiaskrgr) +- [Structurally normalize weak and inherent in new solver](https://github.com/rust-lang/rust/pull/114594) - [@compiler-errors](https://github.com/compiler-errors) +- [Rename method in `opt-dist`](https://github.com/rust-lang/rust/pull/114596) - [@Kobzol](https://github.com/Kobzol) +- [Map RPIT duplicated lifetimes back to fn captured lifetimes](https://github.com/rust-lang/rust/pull/114602) - [@compiler-errors](https://github.com/compiler-errors) +- [Rollup of 7 pull requests](https://github.com/rust-lang/rust/pull/114604) - [@matthiaskrgr](https://github.com/matthiaskrgr) + ### Contributors -- [@Enselic](https://github.com/Enselic) -- [@Enselic](https://github.com/Enselic) -- [@RalfJung](https://github.com/RalfJung) -- [@Trolldemorted](https://github.com/Trolldemorted) -- [@matthiaskrgr](https://github.com/matthiaskrgr) -- [@matthiaskrgr](https://github.com/matthiaskrgr) +- [@petrochenkov](https://github.com/petrochenkov) - [@ttsugriy](https://github.com/ttsugriy) +- [@compiler-errors](https://github.com/compiler-errors) - [@Kobzol](https://github.com/Kobzol) -- [@lnicola](https://github.com/lnicola) - [@matthiaskrgr](https://github.com/matthiaskrgr) +- [@lnicola](https://github.com/lnicola)