-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 10 pull requests #47622
Rollup of 10 pull requests #47622
Conversation
These impls are useful when working with combinator methods that expect an option or a result, but you have a Result<Option<T>, E> instead of an Option<Result<T, E>> or vice versa.
removed styling of dt tages, which would make them look like keys and added <kbd> tag inside of dt tag. Added css style for kbd and removed some stylings for dt
Affected methods are `starts_with` and `strip_prefix`.
We intended to do this quite a while ago but it snuck through.
Though some parts of rust use cc-rs to invoke a compiler/linker, Cargo seems to make use of the TargetOptions::linker property. Make the out of the box experience for CloudABI a bit better by using the same compiler name as cc-rs.
Focus on the ordering/range benefit.
- use consistent phrasing for expected and found arguments - suggest changing arugments to tuple if possible - suggest changing single tuple argument to arguments if possible
…laumeGomez add kbd style tag to main.css in rustdoc Added css style for kbd tags so they actually look like keys. Result preview and discussion was going on in rust-lang#46900 .
Add transpose conversions for nested Option and Result These impls are useful when working with combinator methods that expect an option or a result, but you have a `Result<Option<T>, E>` instead of an `Option<Result<T, E>>` or vice versa.
…eveklabnik add Rust By Example to the bookshelf cc rust-lang#46194 With rust-lang#46196 freshly merged, we should add a link to the main docs distribution so people can find it! We discussed this at the docs team meeting today and decided to go ahead with adding it to the bookshelf.
Deprecate std::net::lookup_host We intended to do this quite a while ago but it snuck through. r? @alexcrichton
Add some edge cases to the documentation of `Path` Affected methods are `starts_with` and `strip_prefix`.
add target/ to ignored tidy dirs Sometimes you get a target directory from running cargo in the rust repo (the root is `src/`), and it contains generated files. Just whitelist it since it causes tidy to spew warnings uncontrollably.
Fix the "Github - About Pull Requests" link in CONTRIBUTING.md Previously the text that is supposed to link to the Github Pull Requests page, instead linked to the same file (CONTRIBUTING.md).
…richton Give TargetOptions::linker a sane default value for CloudABI. Though some parts of rust use cc-rs to invoke a compiler/linker, Cargo seems to make use of the TargetOptions::linker property. Make the out of the box experience for CloudABI a bit better by using the same compiler name as cc-rs.
Closure argument mismatch tweaks - use consistent phrasing for expected and found arguments - suggest changing arguments to tuple if possible - suggest changing single tuple argument to arguments if possible Fix rust-lang#44150.
Update BTreeMap recommendation Focus on the ordering / range(instead of all) benefit as it's the most important feature.
Some changes occurred in HTML/CSS. |
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
@bors: r+ p=1 |
📌 Commit 4074893 has been approved by |
⌛ Testing commit 4074893 with merge 0af40b6d4ae09033e76cd07439cfff2dd5469ed2... |
💔 Test failed - status-appveyor |
@bors retry appveyor timeout |
☀️ Test successful - status-appveyor, status-travis |
Path
#47532, add target/ to ignored tidy dirs #47535, Fix the "Github - About Pull Requests" link in CONTRIBUTING.md #47559, Give TargetOptions::linker a sane default value for CloudABI. #47568, Closure argument mismatch tweaks #47573, Update BTreeMap recommendation #47578