# Fix \`editor::GoToDiagnostics\` cycle \(\#24446\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/4f65cfa93d183295289a4313e550c434b8ab7fc7)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 4f65cfa93d183295289a4313e550c434b8ab7fc7

Requested commit: 4f65cfa93d183295289a4313e550c434b8ab7fc7

Commit: 4f65cfa93d183295289a4313e550c434b8ab7fc7

Tree: 17534971e482c3cbe3c2db9fcc9b387476df4feb

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix `editor::GoToDiagnostics` cycle (#24446)

https://github.com/user-attachments/assets/45f665f0-473a-49bd-b013-b9d1bdb902bd


After activating 2nd diagnostics group, `find_map` code for next
diagnostics did not skip the previous group for the same place.

Release Notes:

- Fixed `editor::GoToDiagnostics` action stuck when multiple diagnostics
groups belong to the same place
```

## Parents

- [b6b06cf6d8379ef3f8b02bd2867ee8d66cf73c1d](https://git.cafe/gitcafe/zed/commit/b6b06cf6d8379ef3f8b02bd2867ee8d66cf73c1d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/4f65cfa93d183295289a4313e550c434b8ab7fc7?format=markdown)
