Skip to content

iter: add fold, sum and product - #6544

Closed
thestinger wants to merge 1 commit into
rust-lang:incomingfrom
thestinger:new_iter
Closed

iter: add fold, sum and product#6544
thestinger wants to merge 1 commit into
rust-lang:incomingfrom
thestinger:new_iter

Conversation

@thestinger

Copy link
Copy Markdown
Contributor

No description provided.

@borsbors closed this May 17, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 15, 2021
collapsible_if: split collapsible_else_if into its own lint so we can enable/disable it particularly
This splits up clippy::collapsible_if into collapsible_if for
if x {
if y { }
}
=>
if x && y { }
and collapsible_else_if for
if x {
} else {
if y { }
}
=>
if x {
} else if y {
}
so that we can lint for only the latter but not the first if we desire.
changelog: collapsible_if: split up linting for if x {} else { if y {} } into collapsible_else_if lint
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6544: add suggestion ..Default::default() for remaining struct fields in a constructor r=bnjjj a=bnjjj
I'm not sure I should import `assists` crate inside `completions`, maybe we should move out `FamousDefs` from `assists` ? Let me know :) closerust-lang#6492
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Sign up for freeto 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

@thestinger@bors