-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Rollup of 9 pull requests #25298
Closed
Closed
Rollup of 9 pull requests #25298
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've written a small [EditorConfig](http://editorconfig.org) file for Rust development.
… removed the with_mode copy, thanks to eddyb
The start of the last text block in references was missing, I added it.
…bnik Add example for HashMap::entry()
The start of the last text block in references was missing, I added it. r? @steveklabnik
…richton Add a few diagnostic messages; part of rust-lang#24407.
…eklabnik I think there's a trivial missing word in the Mutability document. I reformatted the resulting paragraph in vim, which seems to match what the rest of the document is doing as far as word wrapping. Edit: I found another minor thing as I continued reading. P.S. I'm re-reading the docs, since so much has changed since my first read, and they've gotten even better! Nice job! r? @steveklabnik
- Successful merges: rust-lang#24948, rust-lang#25158, rust-lang#25188, rust-lang#25222, rust-lang#25239, rust-lang#25240, rust-lang#25241, rust-lang#25255, rust-lang#25257, rust-lang#25263 - Failed merges:
The reference was claiming all vectors all bounds-checked at run-time, when constant vectors are usually checked at compile-time. For the changed example see http://is.gd/28ak9E
…teveklabnik There were still some mentions of `~[T]` and `~T`, mostly in comments and debugging statements. I tried to do my best to preserve meaning, but I might have gotten some wrong-- I'm happy to fix anything :)
According to @eddyb – and my tests – the following gets rid of the ICE in issue rust-lang#25180.
Noticed this while perusing the docs
The reference was claiming all vectors all bounds-checked at run-time, when constant vectors are usually checked at compile-time. For the changed example see http://is.gd/28ak9E Also fixed a minor grammar issue.
…r=steveklabnik Maybe it's me, but I really needed an example to understand if let and refutable statements. Playpen: http://is.gd/mjX3Gf Let me know if the variable names are too, uh, culinary.
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
@bors: r+ p=10 |
📌 Commit 5bee122 has been approved by |
⌛ Testing commit 5bee122 with merge 331460e... |
💔 Test failed - auto-mac-32-opt |
☔ The latest upstream changes (presumably #25271) made this pull request unmergeable. Please resolve the merge conflicts. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BufReadExt
#25280, Fix typo in guessing-game docs #25284, Docs: Compile-time bounds check in index expression #25286, Fix typo in references-and-borrowing docs #25287, Add if let expressions example #25291