# Fix panic when accepting completions \(\#11762\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cf97b995b2a6b845c883e73d191caafa2d2022f6

Requested commit: cf97b995b2a6b845c883e73d191caafa2d2022f6

Commit: cf97b995b2a6b845c883e73d191caafa2d2022f6

Tree: 7856e166703d200cf7c8049771ea974dd8fb6972

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix panic when accepting completions (#11762)

Release Notes:

- Fixed a panic caused by missing bounds check in completion handler
```

## Parents

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

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