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

[clippy::redundant-closure] redundant_closure #98

Closed
friendbear opened this issue Dec 13, 2023 · 1 comment
Closed

[clippy::redundant-closure] redundant_closure #98

friendbear opened this issue Dec 13, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@friendbear
Copy link
Owner

Warning

redundant_closure

I understand the warning and I have corrected it, but I get an error for the corrected code.

streamer.iter().for_each(|s| printer(s));

I think the cause of this error is probably a problem in the closure definition, but I do not know how to fix it.

  • image

I understand the warning and I have corrected it, but I get an error for the corrected code.
I think the cause of this error is probably a problem in the closure definition, but I do not know how to fix it.

image

Code Space URL

@friendbear friendbear added the question Further information is requested label Dec 13, 2023
@friendbear friendbear self-assigned this Dec 13, 2023
@friendbear
Copy link
Owner Author

friendbear commented Dec 14, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant