Skip to content

doc: use 'index' and 'value' in place of 'i' and 't' #27100

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

Merged
merged 1 commit into from
Jul 19, 2015
Merged

doc: use 'index' and 'value' in place of 'i' and 't' #27100

merged 1 commit into from
Jul 19, 2015

Conversation

tshepang
Copy link
Member

No description provided.

@rust-highfive
Copy link
Contributor

r? @gankro

(rust_highfive has picked a reviewer for you, use r? to override)

@Gankra
Copy link
Contributor

Gankra commented Jul 17, 2015

This is going to get clobbered by #26955

pub fn insert(&mut self, i: usize, t: T) {
assert!(i <= self.len(), "index out of bounds");
pub fn insert(&mut self, index: usize, value: T) {
assert!(index <= self.len(), "index out of bounds");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that several inner impl docs refer to i explicitly (this fn is an example).

@bors
Copy link
Collaborator

bors commented Jul 18, 2015

☔ The latest upstream changes (presumably #26955) made this pull request unmergeable. Please resolve the merge conflicts.

@tshepang
Copy link
Member Author

now unclobbered @gankro

@Gankra
Copy link
Contributor

Gankra commented Jul 19, 2015

@bors r+

Thanks!

@bors
Copy link
Collaborator

bors commented Jul 19, 2015

📌 Commit ef2f4cd has been approved by Gankro

bors added a commit that referenced this pull request Jul 19, 2015
@bors
Copy link
Collaborator

bors commented Jul 19, 2015

⌛ Testing commit ef2f4cd with merge 58fb9b5...

@bors bors merged commit ef2f4cd into rust-lang:master Jul 19, 2015
@tshepang tshepang deleted the better-names branch July 20, 2015 11:31
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

Successfully merging this pull request may close these issues.

4 participants