# gpui: Use \`SharedString::new_static\` within \`From\` impls for \`ElementId\` where possible \(\#56139\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e1a46f9256354971248b0696ed34641b48953907

Requested commit: e1a46f9256354971248b0696ed34641b48953907

Commit: e1a46f9256354971248b0696ed34641b48953907

Tree: 5b6622df4341bf8efeb59b2ff800e875ab0f3205

Author: Finn Evers

Committer: GitHub

## Message

```
gpui: Use `SharedString::new_static` within `From` impls for `ElementId` where possible (#56139)

Horror of a PR title but could not think of anything better here.

Release Notes:

- N/A

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
```

## Parents

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

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