-
Notifications
You must be signed in to change notification settings - Fork 121
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
std::sync::ONCE_INIT is deprecated #151
Comments
We should just add a targeted |
Sorry for commenting on a closed issue... |
std::sync::ONCE_INIT
is deprecated which leads to warnings when building.Would be great, if this could be replaced.
Built with
rustc 1.38.0-nightly (6e310f2ab 2019-07-07)
Reproducible by building the example from readme.md.
This results in the following warning:
warning: use of deprecated item 'lazy::std::sync::ONCE_INIT': the new function is now preferred --> src/inline_lazy.rs:14:9 | 14 | pub use self::std::sync::ONCE_INIT; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: #[warn(deprecated)] on by default
The text was updated successfully, but these errors were encountered: