# language: Make Buffer::new take an explicit ID \(\#2900\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 07b9c6c302d89b3e23f61e9943b2c6b3ab113d99

Requested commit: 07b9c6c302d89b3e23f61e9943b2c6b3ab113d99

Commit: 07b9c6c302d89b3e23f61e9943b2c6b3ab113d99

Tree: c393168d889fea6140ea3cfec24253035fe7f71c

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
language: Make Buffer::new take an explicit ID (#2900)

See Linear description for the full explanation of the issue. This PR is
mostly a mechanical change, except for the one case where we do pass in
an explicit `next_id` instead of `model_id` in project.rs.

Release Notes:
- Fixed a bug where some results were not reported in project search in
presence of unnamed buffers.
```

## Parents

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

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