# editor: Remove unnecessary clone \(\#37833\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 365c5ab45ffdc3d94a3d89dfbe32fb6bf45d3010

Requested commit: 365c5ab45ffdc3d94a3d89dfbe32fb6bf45d3010

Commit: 365c5ab45ffdc3d94a3d89dfbe32fb6bf45d3010

Tree: c065e8cc0be507119bc321c1f395fec530182b76

Author: Finn Evers

Committer: GitHub

## Message

```
editor: Remove unnecessary clone (#37833)

The style is taken by reference everywhere, so no need to clone it at
the start of every `prepaint`.

Release Notes:

- N/A
```

## Parents

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

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