Skip to content

Variable Names for for_rev and map in Tutorial - #2843

Merged
brson merged 3 commits into
rust-lang:incomingfrom
Havvy:patch-2
Jul 8, 2012
Merged

Variable Names for for_rev and map in Tutorial#2843
brson merged 3 commits into
rust-lang:incomingfrom
Havvy:patch-2

Conversation

@Havvy

@HavvyHavvy commented Jul 8, 2012

Copy link
Copy Markdown
Contributor

Let the bikeshedding commence. I believe that having the name of parameters and local variables be full words will make it easier for people to learn the concepts the functions are demonstrating. As such, I made them full words.

@brson
brson merged commit fb7f0a4 into rust-lang:incomingJul 8, 2012
@brson

brson commented Jul 8, 2012

Copy link
Copy Markdown
Contributor

Thanks!

flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 25, 2021
Rework use_self impl based on ty::Ty comparison rust-lang#3410 | Take 2
This builds on top of rust-lang#5531
I already reviewed and approved the commits by `@montrivo.` So only the review of my commits should be necessary.
I would also appreciate your review `@montrivo,` since you are familiar with the challenges here.
Fixesrust-lang#3410 and Fixesrust-lang#4143 (same problem)
Fixesrust-lang#2843Fixesrust-lang#3859Fixesrust-lang#4734 and fixesrust-lang#6221Fixesrust-lang#4305Fixesrust-lang#5078 (even at expression level now 🎉)
Fixesrust-lang#3881 and Fixesrust-lang#4887 (same problem)
Fixesrust-lang#3909
Not yet: rust-lang#4140 (test added)
All the credit for the fixes goes to `@montrivo.` I only refactored and copy and pasted his code.
changelog: rewrite [`use_self`] lint and fix multiple (8) FPs. One to go.
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Apr 28, 2023
Spelling
This PR corrects misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling).
The misspellings have been reported at https://github.com/jsoref/miri/actions/runs/4699927237#summary-12751183650
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/miri/actions/runs/4699927572#summary-12751184493
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
tshepang pushed a commit to tshepang/rust that referenced this pull request Apr 22, 2026
…board--again
document public dashboard (again)
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
2843: Add inlay parameter name hints for call expr r=matklad a=imtsuki
This patch adds Intellij-like parameter name hints for literal values in function calls.
<img width="624" alt="Screenshot" src="https://user-images.githubusercontent.com/8423594/72366533-68d7f800-3735-11ea-9279-cf193ca8ca2f.png">
Signed-off-by: imtsuki <me@qjx.app>
Co-authored-by: imtsuki <me@qjx.app>
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

@Havvy@brson