# Maybe fix panic \(\#29352\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6692bd9f2bbba326d2cdabb9dd2245a422777795

Requested commit: 6692bd9f2bbba326d2cdabb9dd2245a422777795

Commit: 6692bd9f2bbba326d2cdabb9dd2245a422777795

Tree: 5b1fa35a52e1de4b5a14064dbab5eb323f2355e0

Author: Conrad Irwin

Committer: GitHub

## Message

```
Maybe fix panic (#29352)

Since around the time we shipped block diagnostics, we've been seeing an
out of range panic in the editor.

Although the code is heavily inlined, so the stacktrace is missing, this
seems like a likely place that indexing may have gone wrong.

Release Notes:

- Fixed a rare panic in the editor
```

## Parents

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

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