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

Unused mut warning when using ben_map and ben_list macro #136

Merged

Conversation

derekhendrickx
Copy link
Contributor

@derekhendrickx derekhendrickx commented Nov 16, 2017

I removed the unused mut for the macros ben_map and ben_list. Those were generating a warning from the compiler: warning: variable does not need to be mutable.

The related issue is #135.

@derekhendrickx derekhendrickx changed the title Unused mut warning when using ben_map macro Unused mut warning when using ben_map and ben_list macro Nov 16, 2017
@GGist
Copy link
Owner

GGist commented Nov 17, 2017

Huh, looks like the nightly channel wasnt emitting this warning, but I did see it on stable.

Thanks for the fix!

@GGist GGist merged commit 310851f into GGist:master Nov 17, 2017
@derekhendrickx derekhendrickx deleted the fix/bip-bencode-unused-mut-warning-in-macro branch November 17, 2017 15:19
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