# assistant: Remove \`unwrap\`s in \`RecentBuffersContext\` \(\#11938\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 97691c1def690949768ef5c6d2383d4e773ea611

Requested commit: 97691c1def690949768ef5c6d2383d4e773ea611

Commit: 97691c1def690949768ef5c6d2383d4e773ea611

Tree: e1bb64f04cd52bb8a6ca5f3dd4bd7a6cbc2701c1

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant: Remove `unwrap`s in `RecentBuffersContext` (#11938)

This PR removes the `unwrap`s in the `RecentBuffersContext` when
building the message.

We can just make `build_message` return a `Result` to clean things up.

Release Notes:

- N/A
```

## Parents

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

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