Skip to content
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

Merged
merged 17 commits into from
Sep 3, 2021
Merged

Rollup of 7 pull requests #88618

merged 17 commits into from
Sep 3, 2021

Commits on Aug 21, 2021

  1. 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.
    azdavis committed Aug 21, 2021
    Configuration menu
    Copy the full SHA
    003a636 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2021

  1. Fix LLVM libunwind build for non-musl targets

    Broken in rust-lang#85600
    Jethro Beekman committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    446c429 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8cecac2 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2021

  1. Move to the top of file

    atsuzaki committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    5390ea4 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2021

  1. cleanup const generics FIXME

    lcnr committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    fc2a265 View commit details
    Browse the repository at this point in the history
  2. update FIXME

    lcnr committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    7207194 View commit details
    Browse the repository at this point in the history
  3. use the correct feature gate

    Co-authored-by: Boxy <supbscripter@gmail.com>
    lcnr and BoxyUwU committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    d18ff40 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

  1. Configuration menu
    Copy the full SHA
    9da8e2a View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2021

  1. Configuration menu
    Copy the full SHA
    5ea45f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00c8da1 View commit details
    Browse the repository at this point in the history
  3. 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.
    m-ou-se committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    cb2be32 View commit details
    Browse the repository at this point in the history
  4. 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.
    m-ou-se committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    3ce205a View commit details
    Browse the repository at this point in the history
  5. 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
    m-ou-se committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    80b572b View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#88557 - lcnr:const-generics-cleanup, r=BoxyUwU

    small const generics cleanup
    m-ou-se committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    4b5da4a View commit details
    Browse the repository at this point in the history
  7. 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.
    m-ou-se committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    01775b6 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#88610 - m-ou-se:array-into-iter-docs, r=Ama…

    …nieu
    
    Update outdated docs of array::IntoIter::new.
    m-ou-se committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    e13b9c9 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#88613 - m-ou-se:array-docs-2021, r=Amanieu

    Update primitive docs for rust 2021.
    
    Fixes rust-lang#87701
    m-ou-se committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    2ce74b0 View commit details
    Browse the repository at this point in the history