New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace some lazy_static usage with once_cell feature #6120
Conversation
r? @Manishearth (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ Neat! |
|
Replace some lazy_static usage with once_cell feature This replaces some `lazy_static` usage with [`SyncLazy`](https://doc.rust-lang.org/nightly/std/lazy/struct.SyncLazy.html) of the unstable `once_cell` feature. changelog: none
|
Will get to the failure later today, looks like a doctest was importing lazy_static |
832d39f
to
da57a16
Compare
@bors r=Manishearth |
|
|
Remove lazy_static completely and use once_cell feature instead Follow-up to #6120 This removes the last remaining `lazy_static` usages and replaces them with `SyncLazy` from the `once_cell` feature. --- changelog: none
This replaces some
lazy_static
usage withSyncLazy
of the unstableonce_cell
feature.changelog: none