# gpui: Implement \`From\<String\>\` for ElementId \(\#44447\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4e75f0f3ab86a6140533fcad83595d4f5e3fcd67

Requested commit: 4e75f0f3ab86a6140533fcad83595d4f5e3fcd67

Commit: 4e75f0f3ab86a6140533fcad83595d4f5e3fcd67

Tree: e7bb8d9bee2127200b13aec2261f2e64a9861103

Author: Jason Lee

Committer: GitHub

## Message

````
gpui: Implement `From<String>` for ElementId (#44447)

Release Notes:

- N/A

## Before

```rs
div()
    .id(SharedString::from(format!("process-entry-{ix}-command")))
```

## After

```rs
div()
    .id(format!("process-entry-{ix}-command"))
```
````

## Parents

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

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