# util: Replace \`lazy_static\!\` with \`OnceLock\` \(\#13215\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 01b836a1915a309a8426b0fd64ea5165c77d90f2

Requested commit: 01b836a1915a309a8426b0fd64ea5165c77d90f2

Commit: 01b836a1915a309a8426b0fd64ea5165c77d90f2

Tree: ce1a5cbabc30612bedd00057959d9ccf02b0c1f0

Author: Marshall Bowers

Committer: GitHub

## Message

```
util: Replace `lazy_static!` with `OnceLock` (#13215)

This PR replaces the `lazy_static!` usages in the `util` crate with
`OnceLock` from the standard library.

This allows us to drop the `lazy_static` dependency from this crate.

Release Notes:

- N/A
```

## Parents

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

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