# paths: Replace \`lazy_static\!\` with \`OnceLock\` \(\#13213\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 81475ac4cde2d7481d620ef22e1d9c3148b38ec2

Requested commit: 81475ac4cde2d7481d620ef22e1d9c3148b38ec2

Commit: 81475ac4cde2d7481d620ef22e1d9c3148b38ec2

Tree: 55e311677f9e098740daab57a9a6709e67838d71

Author: Marshall Bowers

Committer: GitHub

## Message

```
paths: Replace `lazy_static!` with `OnceLock` (#13213)

This PR replaces the `lazy_static!` usages in the `paths` crate with
`OnceLock` from the standard library.

This allows us to drop the `lazy_static` dependency from this crate.

The paths are now exposed as accessor functions that reference a private
static value.

Release Notes:

- N/A
```

## Parents

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

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