Skip to content

minor: ensure correct range bounds in concurreny examples in the rust book #25054

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
May 2, 2015

Conversation

bguiz
Copy link
Contributor

@bguiz bguiz commented May 2, 2015

  • 0..2 iterates over 0,1
  • 0..3 iterates over 0,1,2, which is what we want instead

… rust book

- `0..2` iterates over `0,1`
- `0..3` iterates over `0,1,2`, which is what we want instead
@rust-highfive
Copy link
Contributor

r? @pcwalton

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

@bguiz
Copy link
Contributor Author

bguiz commented May 2, 2015

r? @steveklabnik This is is a docs only change, for https://doc.rust-lang.org/book/concurrency.html

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented May 2, 2015

📌 Commit 07ff827 has been approved by steveklabnik

@steveklabnik
Copy link
Member

Thanks so much!

@bguiz
Copy link
Contributor Author

bguiz commented May 2, 2015

@steveklabnik No worries!

@bors
Copy link
Collaborator

bors commented May 2, 2015

⌛ Testing commit 07ff827 with merge 84f8c25...

bors added a commit that referenced this pull request May 2, 2015

- `0..2` iterates over `0,1`
- `0..3` iterates over `0,1,2`, which is what we want instead
@bors bors merged commit 07ff827 into rust-lang:master May 2, 2015
@bguiz bguiz deleted the patch-1 branch May 10, 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.

5 participants