# Add guards to other pane index removals \(\#2496\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 06a89d9104b232de2a1fe2fc2b2d3d7c6b21ad56

Requested commit: 06a89d9104b232de2a1fe2fc2b2d3d7c6b21ad56

Commit: 06a89d9104b232de2a1fe2fc2b2d3d7c6b21ad56

Tree: 316ca3b448f8d2a0ca5ebecd0c32fed8ecdd9a17

Author: Mikayla Maki

Committer: GitHub

## Message

```
Add guards to other pane index removals (#2496)

These should be impossible for users to reach, but why leave it to
chance?

Release Notes:

* N/A
```

## Parents

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

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

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