# fix slicing crash in \`do_completion\` \(\#28820\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3f4d4af080f210f1048cdbc8e98ad6df0524b533

Requested commit: 3f4d4af080f210f1048cdbc8e98ad6df0524b533

Commit: 3f4d4af080f210f1048cdbc8e98ad6df0524b533

Tree: a37a8d9e2f92f63784257cfe4ac09afef3521eb3

Author: João Marcos

Committer: GitHub

## Message

```
fix slicing crash in `do_completion` (#28820)

Release Notes:

- N/A
```

## Parents

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

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