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

Make privileged action be a FnOnce() #27

Closed
wants to merge 5 commits into from
Closed

Make privileged action be a FnOnce() #27

wants to merge 5 commits into from

Conversation

eun-ice
Copy link
Contributor

@eun-ice eun-ice commented Jun 7, 2018

I really think privileged_action should be a FnOnce(), it makes it much easier to move stuff into the closure.

Otherwise you get an E0507 in many standard use-cases.

Hope this helps.

@knsd
Copy link
Owner

knsd commented Mar 26, 2019

Aron, thanks for the pr. I've cherry-picked your commit and I'm going to release it soon.

@knsd knsd closed this Mar 26, 2019
@eun-ice
Copy link
Contributor Author

eun-ice commented Mar 26, 2019

Thank you very much!

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.

4 participants