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

Add LazyCell::replace for infallible access #90

Merged
merged 1 commit into from
Sep 19, 2018

Conversation

alexcrichton
Copy link
Contributor

This differs from other functions that it requires &mut self but if you've
locally got access to &mut self in code it's often quite handy to take
advantage of such privileged access!

This differs from other functions that it requires `&mut self` but if you've
locally got access to `&mut self` in code it's often quite handy to take
advantage of such privileged access!
@alexcrichton
Copy link
Contributor Author

ping @indiv0, was curious if you'd have a chance to take a look at this?

@indiv0
Copy link
Owner

indiv0 commented Sep 19, 2018

Hello! Sorry I haven't had a chance to take a look at this yet. I'll take a look first thing tomorrow.

@indiv0 indiv0 merged commit 26eb31c into indiv0:master Sep 19, 2018
@indiv0
Copy link
Owner

indiv0 commented Sep 19, 2018

Looks good to me, merged! Thanks for the contribution. I'll publish a new version to crates.io now.

@alexcrichton
Copy link
Contributor Author

Awesome, thanks so much!

@alexcrichton alexcrichton deleted the replace branch September 19, 2018 17:02
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