-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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! |
📌 Commit 832d39f has been approved by |
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
💔 Test failed - checks-action_test |
Will get to the failure later today, looks like a doctest was importing lazy_static |
832d39f
to
da57a16
Compare
@bors r=Manishearth |
📌 Commit da57a16 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
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