Skip to content

Conversation

libfud
Copy link

@libfud libfud commented Apr 10, 2015

...to be less confusing. Since 0 is the smallest number possible for usize, it doesn't make sense to mention it if it's already included, and it should be more clear that the length of the vector is a valid index with the new wording.

r? @steveklabnik

…c to be less confusing. Since 0 is the smallest number possible for usize, it doesn't make sense to mention it if it's already included, and it should be more clear that the length of the vector is a valid index with the new wording.
@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @steveklabnik (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see CONTRIBUTING.md for more information.

@steveklabnik
Copy link
Contributor

@bors: r+

@bors
Copy link
Collaborator

bors commented Apr 10, 2015

📌 Commit cdce32f has been approved by steveklabnik

@steveklabnik
Copy link
Contributor

@bors: rollup

@steveklabnik
Copy link
Contributor

Thank you!

@libfud
Copy link
Author

libfud commented Apr 10, 2015

No problem, more than happy to contribute, even if it's a diff of two lines.

@steveklabnik
Copy link
Contributor

No diff is too small!

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
…labnik

...to be less confusing. Since 0 is the smallest number possible for usize, it doesn't make sense to mention it if it's already included, and it should be more clear that the length of the vector is a valid index with the new wording.

r? @steveklabnik
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
…labnik

...to be less confusing. Since 0 is the smallest number possible for usize, it doesn't make sense to mention it if it's already included, and it should be more clear that the length of the vector is a valid index with the new wording.

r? @steveklabnik
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
…labnik

...to be less confusing. Since 0 is the smallest number possible for usize, it doesn't make sense to mention it if it's already included, and it should be more clear that the length of the vector is a valid index with the new wording.

r? @steveklabnik
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 11, 2015
…labnik

 ...to be less confusing. Since 0 is the smallest number possible for usize, it doesn't make sense to mention it if it's already included, and it should be more clear that the length of the vector is a valid index with the new wording.

r? @steveklabnik
@bors bors merged commit cdce32f into rust-lang:master Apr 11, 2015
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.

5 participants