-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rollup of 6 pull requests #32402
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 6 pull requests #32402
Conversation
steveklabnik
commented
Mar 21, 2016
- Successful merges: Add doc examples #32322, docs: make some tiny modification about spelling #32339, Update of the book; Error handling, section on custom error types: we… #32340, docs: Correct an improper description #32373, Documentation fix for E0368 #32376, docs: Make some changes in texts #32397
- Failed merges:
… should also show the changes to the `cause` method.
In the example, we made a immutable borrow to `println!`, not a mutable one.
Made the 'good' example compile. I got to the E0368 error page by following the link in the output of the compiler. My understanding is that the first example is 'bad' and the second one is 'good'. Following that logic, I pasted the second example into the file and to my surprise it did not compile. This commit fixes the example to make it paste-able.
In my understanding, the description is somehow inappropriate.
Add doc examples Fixes rust-lang#29347 r? @steveklabnik
docs: make some tiny modification about spelling I think it would be better after modification.
Update of the book; Error handling, section on custom error types: we… … should also show the changes to the `cause` method. When I started creating my own error type, I found that we also have to update the cause method, otherwise we have a missing match branch. It would also be nice to elaborate on the relationship and difference between the description() and fmt() method, but that should be done by someone with more experience with them. :)
docs: Correct an improper description In the example, we made a immutable borrow to `println!`, not a mutable one.
…, r=steveklabnik Documentation fix for E0368 Made the 'good' example compile. I got to the [E0368 error page](https://doc.rust-lang.org/error-index.html#E0368) by following the link in the output of the compiler. My understanding is that the first example is 'bad' and the second one is 'good'. Following that logic, I pasted the second example into the file and to my surprise it did not compile. This commit fixes the example to make it paste-able. On the other hand the docstring contained `compile_fail` flag, which might indicate that this was intentional. I am also assuming here that the `Rust Compiler Error Index` page is generated from the file I changed. Please let me know what do you think. Thanks a lot !
docs: Make some changes in texts In my understanding, the description is somehow inappropriate.
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
@bors: r+ p=1 |
📌 Commit 6a3c7d5 has been approved by |
⌛ Testing commit 6a3c7d5 with merge ef13708... |
💔 Test failed - auto-win-gnu-64-opt |
@bors: retry On Mon, Mar 21, 2016 at 4:00 PM, bors [email protected] wrote:
|