Skip to content

Assorted cleanups to conditionals, pattern matching, doc-comments and formatting in core - #6586

Closed
brendanzab wants to merge 4 commits into
rust-lang:incomingfrom
brendanzab:formatting-and-conditionals
Closed

Assorted cleanups to conditionals, pattern matching, doc-comments and formatting in core#6586
brendanzab wants to merge 4 commits into
rust-lang:incomingfrom
brendanzab:formatting-and-conditionals

Conversation

@brendanzab

Copy link
Copy Markdown
Contributor

No description provided.

@borsbors closed this May 18, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 15, 2021
Rustup
r? `@ghost`
changelog: FP fix: [`needless_return`] no longer triggers inside macros.
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6586: Don't call a closure a function in the infer_function_return_type assist label r=lnicola a=Veykril
`Add this function's return type` becomes `Add this closure's return type` for closures. This makes it more obvious that we are indeed planning on modifying the closure and not its containing function.
Co-authored-by: Lukas Wirth <lukastw97@gmail.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.

3 participants

@brendanzab@thestinger@bors