# Remove special case for singleton buffers from \`MultiBufferSnapshot::anchor_at\` \(\#36524\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b6722ca3c8de3921f150e83294e84fbc9bdb9016

Requested commit: b6722ca3c8de3921f150e83294e84fbc9bdb9016

Commit: b6722ca3c8de3921f150e83294e84fbc9bdb9016

Tree: 63935edcac538886bc74448475c5adeed893770b

Author: Cole Miller

Committer: GitHub

## Message

```
Remove special case for singleton buffers from `MultiBufferSnapshot::anchor_at` (#36524)

This may be responsible for a panic that we've been seeing with
increased frequency in agent2 threads.

Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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