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

lint for more unstable functions: #624

Closed
llogiq opened this issue Feb 6, 2016 · 3 comments
Closed

lint for more unstable functions: #624

llogiq opened this issue Feb 6, 2016 · 3 comments

Comments

@llogiq
Copy link
Contributor

llogiq commented Feb 6, 2016

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.

@Manishearth
Copy link
Member

Perhaps we should have a third lint group for stability lints?

@llogiq
Copy link
Contributor Author

llogiq commented Feb 6, 2016

Makes sense.

@mcarton
Copy link
Member

mcarton commented Jul 9, 2016

@mcarton mcarton closed this as completed Jul 9, 2016
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

No branches or pull requests

3 participants