Skip to content

lint for more unstable functions:  #624

Closed
@llogiq

Description

@llogiq

iter.sum(), iter.product() – the former is usually equal to .fold(0, |acc, &i| acc + i), whereas the latter is equal to .fold(1, |prod, &i| prod * i). Need to check types, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions