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 13 pull requests #106833

Merged
merged 29 commits into from
Jan 14, 2023
Merged

Rollup of 13 pull requests #106833

merged 29 commits into from
Jan 14, 2023

Commits on Nov 26, 2022

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

Commits on Nov 27, 2022

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

Commits on Jan 3, 2023

  1. Added error documentation for write_fmt

    This continuation of work at rust-lang#98861
    alexs-sh committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    c466be0 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2023

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

Commits on Jan 10, 2023

  1. Configuration menu
    Copy the full SHA
    1300c8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a87ed9 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

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

Commits on Jan 12, 2023

  1. Configuration menu
    Copy the full SHA
    a513c84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1a63bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    22b4c68 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0482a48 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. Configuration menu
    Copy the full SHA
    4949fb0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    184057b View commit details
    Browse the repository at this point in the history
  3. rustdoc: remove unnecessary DOM class h1.fqn

    It's misleading. The main heading sometimes isn't an fully qualified name at all.
    
    It's also redundant. It's always a child of `div.main-heading`, so just use that.
    notriddle committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    39b90a5 View commit details
    Browse the repository at this point in the history
  4. rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-t…

    …oggle
    
    This swaps things around so that the class that gets used more often has
    the shorter name.
    notriddle committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    1d328de View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    496edf9 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2023

  1. Rollup merge of rust-lang#104965 - zacklukem:p-option-as_ref-docs, r=…

    …scottmcm
    
    reword Option::as_ref and Option::map examples
    
    The description for the examples of `Option::as_ref` and `Option::map` imply that the example is only doing type conversion, when it is actually finding the length of a string.
    
    Changes the wording to imply that some operation is being run on the value contained in the `Option`
    
    closes rust-lang#104476
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    6702f20 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#105172 - alexs-sh:issue-98861-fix-next, r=s…

    …cottmcm
    
    Added error documentation for write_fmt
    
    This continuation of work at rust-lang#98861
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    6d8ac83 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#106605 - notriddle:notriddle/outdated-rustb…

    …ook, r=GuillaumeGomez
    
    rustdoc: fix outdated lint section of the book
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    b6b4429 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#106670 - albertlarsan68:check-docs-in-pr-ci…

    …, r=Mark-Simulacrum
    
    Check compiler docs in PR CI
    
    Fixes rust-lang#106624
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    233169f View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#106692 - eggyal:mv-binary_heap.rs-binary_he…

    …ap/mod.rs, r=Mark-Simulacrum
    
    mv binary_heap.rs binary_heap/mod.rs
    
    I confess this request is somewhat selfish, as it's made in order to ease synchronisation with my [copse](https://crates.io/crates/copse) crate (see eggyal/copse#6 for explanation). I wholly understand that such grounds may be insufficient to justify merging this request—but no harm in asking, right?
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    feac18c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#106693 - notriddle:notriddle/toggle-trunc, …

    …r=GuillaumeGomez
    
    rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle
    
    This swaps things around so that the class that gets used more often has the shorter name.
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    1584667 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#106707 - ehuss:remove-dupe-sha-1, r=Mark-Si…

    …mulacrum
    
    Remove duplicate sha-1 dependency
    
    [`sha-1`](https://crates.io/crates/sha-1) is more or less a duplicate of [`sha1`](https://crates.io/crates/sha1). The `sha-1` is deprecated and no longer updated. This updates the dependencies to use the new name.
    
    Some other dependencies that got updated as a consequence:
    * The updated pest dependencies are currently only used by mdbook, and shouldn't have any issues.
    * ucd-trie 0.1.3 to 0.1.5: No changelog, but looks like some tables were updated for new unicode versions: https://github.com/BurntSushi/ucd-generate/commits/master/ucd-trie. This is only used by pest (and thus mdbook).
    * thiserror 1.33 to 1.38: Nothing significant in the notes at https://github.com/dtolnay/thiserror/releases.
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    6486b02 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#106762 - WaffleLapkin:atomicptr+as_mut_ptr,…

    … r=m-ou-se
    
    Add `AtomicPtr::as_mut_ptr`
    
    See rust-lang#66893 (comment)
    
    r? thomcc
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    9b502a4 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#106766 - GuillaumeGomez:rm-stripper-dead-co…

    …de, r=notriddle
    
    Remove dead code in rustdoc stripper
    
    No changes when this code is removed.
    
    cc `@aDotInTheVoid`
    r? `@notriddle`
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    96d4d49 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#106775 - albertlarsan68:patch-1, r=Mark-Sim…

    …ulacrum
    
    Remove stale reference to the test suite location
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    5ff2867 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#106799 - scottmcm:remove-unused-generics, r…

    …=cuviper
    
    Stop having unused lifetimes on some `impl`s
    
    See <https://doc.rust-lang.org/nightly/std/cmp/trait.PartialOrd.html#impl-PartialOrd%3COsStr%3E-for-PathBuf>, where these lifetimes show up even though they're not needed:
    ![image](https://user-images.githubusercontent.com/18526288/212257802-da275167-38f9-4e2c-aafc-d44f0fc6a7c6.png)
    
    With this PR, the unneeded lifetimes are no longer there:
    ![image](https://user-images.githubusercontent.com/18526288/212257938-0097c4bf-1247-4c91-8445-5bf0dde1b501.png)
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    a05d06f View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#106816 - TimNN:rental-remap, r=oli-obj

    Update `rental` hack to work with remapped paths.
    
    This PR simply switches to an already-existing helper instead of hard-coding a specific enum variant. The new revision of the test fails without the other changes in this PR.
    
    Context: I'm exploring running UI tests with remapped paths by default in rust-lang#105924 and the rental test was one of the ones that failed.
    
    This may also be useful in the context of rust-lang/rfcs#3127 ("New rustc and Cargo options to allow path sanitisation by default").
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    7d02116 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#106819 - notriddle:notriddle/rm-h1-fqn, r=G…

    …uillaumeGomez
    
    rustdoc: remove unnecessary DOM class `h1.fqn`
    
    It's misleading. The main heading sometimes isn't an fully qualified name at all.
    
    It's also redundant. It's always a child of `div.main-heading`, so just use that.
    Yuki Okushi committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    caa1d47 View commit details
    Browse the repository at this point in the history