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

LazyCell::borrow_mut_with #79

Closed
dherman opened this issue Feb 2, 2018 · 0 comments
Closed

LazyCell::borrow_mut_with #79

dherman opened this issue Feb 2, 2018 · 0 comments

Comments

@dherman
Copy link
Contributor

dherman commented Feb 2, 2018

Since commit fd419de added borrow_mut to LazyCell, would it also make sense to add borrow_mut_with? That seems like the most useful abstraction for using a LazyCell mutably. But maybe there's a subtle soundness issue I'm not thinking of?

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

No branches or pull requests

1 participant