Skip to content

Change function param types from Fn to FnMut #59

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

Closed
wants to merge 1 commit into from

Conversation

mpdn
Copy link

@mpdn mpdn commented Mar 5, 2018

No real reason to use Fn, as no params are shared anyway. I am fairly sure this is backwards compatible, as all functions implementing Fn also implements FnMut.

@novacrazy
Copy link
Collaborator

I can do this in #57 if you want?

@mpdn
Copy link
Author

mpdn commented Mar 5, 2018

Yeah, that would probably be a good idea. If you are considering changing the functions anyway, this change might as well be included there instead.

@fizyk20 fizyk20 closed this in c16b587 Mar 7, 2018
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