Skip to content

[clippy::redundant-closure] redundant_closureΒ #98

@friendbear

Description

@friendbear

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

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions