# Update some editor methods to instead take immutable references \(\#23578\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 52494f3fdf3a9b128806fb826ffb4141041c0f6f

Requested commit: 52494f3fdf3a9b128806fb826ffb4141041c0f6f

Commit: 52494f3fdf3a9b128806fb826ffb4141041c0f6f

Tree: 8dd10c378d780c64f49a40f6a6c498008c2c6b95

Author: Michael Sloan

Committer: GitHub

## Message

```
Update some editor methods to instead take immutable references (#23578)

Makes the signatures more informative and can be more convenient as
multiple immutable borrows are allowed.

Release Notes:

- N/A
```

## Parents

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

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