-
Couldn't load subscription status.
- Fork 13.9k
Rollup of 9 pull requests #25298
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
Conversation
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. |
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