# Slightly tidy up vector_db code · gitcafe/zed

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

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

Visibility: public

Requested revision: a884bd77e11970b6094de04aa1774e9d672a55c0

Requested commit: a884bd77e11970b6094de04aa1774e9d672a55c0

Commit: a884bd77e11970b6094de04aa1774e9d672a55c0

Tree: 96972bd986862f338c8a5389043c2daa841a655b

Author: Kirill Bulatov

Committer: Kirill Bulatov

## Message

```
Slightly tidy up vector_db code

Avoid panicking when truncating code with special chars

```

## Parents

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

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