-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 7 pull requests #88618
Rollup of 7 pull requests #88618
Commits on Aug 21, 2021
-
Add an example for deriving PartialOrd on enums
For some reason, I always forget which variants are smaller and which are larger when you derive PartialOrd on an enum. And the wording in the current docs is not entirely clear to me. So, I often end up making a small enum, deriving PartialOrd on it, and then writing a `#[test]` with an assert that the top one is smaller than the bottom one (or the other way around) to figure out which way the deriving goes. So then I figured, it would be great if the standard library docs just had that example, so if I keep forgetting, at least I can figure it out quickly by looking at std's docs.
Configuration menu - View commit details
-
Copy full SHA for 003a636 - Browse repository at this point
Copy the full SHA 003a636View commit details
Commits on Aug 30, 2021
-
Fix LLVM libunwind build for non-musl targets
Broken in rust-lang#85600
Jethro Beekman committedAug 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 446c429 - Browse repository at this point
Copy the full SHA 446c429View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cecac2 - Browse repository at this point
Copy the full SHA 8cecac2View commit details
Commits on Aug 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5390ea4 - Browse repository at this point
Copy the full SHA 5390ea4View commit details
Commits on Sep 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fc2a265 - Browse repository at this point
Copy the full SHA fc2a265View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7207194 - Browse repository at this point
Copy the full SHA 7207194View commit details -
Co-authored-by: Boxy <supbscripter@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d18ff40 - Browse repository at this point
Copy the full SHA d18ff40View commit details
Commits on Sep 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9da8e2a - Browse repository at this point
Copy the full SHA 9da8e2aView commit details
Commits on Sep 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5ea45f3 - Browse repository at this point
Copy the full SHA 5ea45f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00c8da1 - Browse repository at this point
Copy the full SHA 00c8da1View commit details -
Rollup merge of rust-lang#88202 - azdavis:master, r=jyn514
Add an example for deriving PartialOrd on enums For some reason, I always forget which variants are smaller and which are larger when you derive PartialOrd on an enum. And the wording in the current docs is not entirely clear to me. So, I often end up making a small enum, deriving PartialOrd on it, and then writing a `#[test]` with an assert that the top one is smaller than the bottom one (or the other way around) to figure out which way the deriving goes. So then I figured, it would be great if the standard library docs just had that example, so if I keep forgetting, at least I can figure it out quickly by looking at std's docs.
Configuration menu - View commit details
-
Copy full SHA for cb2be32 - Browse repository at this point
Copy the full SHA cb2be32View commit details -
Rollup merge of rust-lang#88483 - jethrogb:jb/llvm-libunwind-self-con…
…tained, r=petrochenkov Fix LLVM libunwind build for non-musl targets Broken in rust-lang#85600. AFAICT, [only musl, mingw, and wasm](https://github.com/rust-lang/rust/blob/673d0db5e393e9c64897005b470bfeb6d5aec61b/compiler/rustc_target/src/spec/crt_objects.rs#L128-L132) should use the “self-contained” logic in rustbuild.
Configuration menu - View commit details
-
Copy full SHA for 3ce205a - Browse repository at this point
Copy the full SHA 3ce205aView commit details -
Rollup merge of rust-lang#88507 - atsuzaki:slice-fill-maybeuninit-tes…
…t, r=RalfJung Add test case for using `slice::fill` with MaybeUninit Adds test for rust-lang#87891 Looks alright? `@RalfJung` Fixes rust-lang#87891
Configuration menu - View commit details
-
Copy full SHA for 80b572b - Browse repository at this point
Copy the full SHA 80b572bView commit details -
Rollup merge of rust-lang#88557 - lcnr:const-generics-cleanup, r=BoxyUwU
small const generics cleanup
Configuration menu - View commit details
-
Copy full SHA for 4b5da4a - Browse repository at this point
Copy the full SHA 4b5da4aView commit details -
Rollup merge of rust-lang#88579 - ast-ral:master, r=m-ou-se
remove redundant / misplaced sentence from docs Removes sentence that seems to have drifted down into the examples section. Luckily, someone already added an explanation of what happens with packed structs back into the initial section of the doc entry and this wayward sentence can likely just be deleted.
Configuration menu - View commit details
-
Copy full SHA for 01775b6 - Browse repository at this point
Copy the full SHA 01775b6View commit details -
Rollup merge of rust-lang#88610 - m-ou-se:array-into-iter-docs, r=Ama…
…nieu Update outdated docs of array::IntoIter::new.
Configuration menu - View commit details
-
Copy full SHA for e13b9c9 - Browse repository at this point
Copy the full SHA e13b9c9View commit details -
Rollup merge of rust-lang#88613 - m-ou-se:array-docs-2021, r=Amanieu
Update primitive docs for rust 2021. Fixes rust-lang#87701
Configuration menu - View commit details
-
Copy full SHA for 2ce74b0 - Browse repository at this point
Copy the full SHA 2ce74b0View commit details