# gpui: Add \`SharedUrl\` type \(\#3975\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f0ef63bfa0a6cab1676d27ae75e839c2e7666e3c

Requested commit: f0ef63bfa0a6cab1676d27ae75e839c2e7666e3c

Commit: f0ef63bfa0a6cab1676d27ae75e839c2e7666e3c

Tree: 51638b21880f47139a0b73e63ffc393edea4e459

Author: Marshall Bowers

Committer: GitHub

## Message

```
gpui: Add `SharedUrl` type (#3975)

This PR adds a `SharedUrl` type to GPUI.

It's just like a `SharedString`, but for denoting that the contained
value is a URL.

Mainlined from @nathansobo's GPUI blog post:
https://github.com/zed-industries/zed/pull/3968/files#diff-7ee75937e2daf7dd53f71b17698d8bd6d46993d06928d411781b9bd739b5f231R9-R12

Release Notes:

- N/A
```

## Parents

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

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