# Make \`WrapMap\` and \`DisplayMap\` models · gitcafe/zed

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

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

Visibility: public

Requested revision: b647e3ee71d8a3c71a8fcbaccd1f77e850da78e6

Requested commit: b647e3ee71d8a3c71a8fcbaccd1f77e850da78e6

Commit: b647e3ee71d8a3c71a8fcbaccd1f77e850da78e6

Tree: 68f9c9b0240b3b8c051c443685164c5aea0473a5

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Make `WrapMap` and `DisplayMap` models

This removes the need for a lock around in `WrapMap` and also removes
`WrapMap::notifications` because gpui already has a standard way of
notifying when a model updates.

```

## Parents

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

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