# Slightly tidy up vector_db code \(\#2744\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 009cf48b26e0e349393ebe41d89a57b275d0389a

Requested commit: 009cf48b26e0e349393ebe41d89a57b275d0389a

Commit: 009cf48b26e0e349393ebe41d89a57b275d0389a

Tree: 96972bd986862f338c8a5389043c2daa841a655b

Author: Kirill Bulatov

Committer: GitHub

## Message

````
Slightly tidy up vector_db code (#2744)

Code snippet
```rust
fn main() {
    //√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√
}
```

has length of 191, but consists of 87 chars, and the debug code with
`.truncate(100)` panicked.
Fixed that issue, cc @KCaverly 


Release Notes:

- N/A
````

## Parents

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

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

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