Skip to content
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

Export __Deref in lazy_static #143

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Export __Deref in lazy_static #143

wants to merge 1 commit into from

Conversation

sarsko
Copy link
Contributor

@sarsko sarsko commented Mar 27, 2024

This is exactly as in lazy_static.

Not fully sure why it is pub used in lazy_static. I ran into it because of a compilation failure due to someone importing lazy_static::__Deref.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sarsko
Copy link
Contributor Author

sarsko commented Mar 27, 2024

Failure due to new clippys, will put up a PR fixing clippys.

jamesbornholt
jamesbornholt previously approved these changes Mar 28, 2024
Copy link
Member

@jamesbornholt jamesbornholt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well that's unfortunate. LGTM once you rebase on the Clippy fix.

@sarsko sarsko force-pushed the deref-lazy-static branch from 2fd66e9 to 6144aaa Compare March 28, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants