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 6 pull requests #71906

Closed
wants to merge 16 commits into from

Commits on May 2, 2020

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

Commits on May 4, 2020

  1. Add examples for std::f32 constants.

    And also point people to use the associated constants of f32 instead.
    steveklabnik committed May 4, 2020
    Configuration menu
    Copy the full SHA
    a992f95 View commit details
    Browse the repository at this point in the history
  2. add some whitespace

    steveklabnik committed May 4, 2020
    Configuration menu
    Copy the full SHA
    0768fa4 View commit details
    Browse the repository at this point in the history
  3. correct -> intended

    steveklabnik committed May 4, 2020
    Configuration menu
    Copy the full SHA
    d38d429 View commit details
    Browse the repository at this point in the history
  4. f64 examples

    steveklabnik committed May 4, 2020
    Configuration menu
    Copy the full SHA
    8bef0a3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    55e37f9 View commit details
    Browse the repository at this point in the history
  6. add a missing word

    Dante-Broggi committed May 4, 2020
    Configuration menu
    Copy the full SHA
    4a8fa18 View commit details
    Browse the repository at this point in the history
  7. double neg

    lcnr committed May 4, 2020
    Configuration menu
    Copy the full SHA
    a9b6af9 View commit details
    Browse the repository at this point in the history
  8. Update btree_map::VacantEntry::insert docs to actually call insert

    It looks like they were copied from the `or_insert` docs. This change
    makes the example more like the hash_map::VacantEntry::insert docs.
    carols10cents committed May 4, 2020
    Configuration menu
    Copy the full SHA
    d02128f View commit details
    Browse the repository at this point in the history
  9. fix typo in function name

    euclio committed May 4, 2020
    Configuration menu
    Copy the full SHA
    36f51f9 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#71587 - matthewjasper:promoted-move-errors,…

    … r=nikomatsakis
    
    Report cannot move errors in promoted MIR
    
    Closes rust-lang#70934
    Dylan-DPC committed May 4, 2020
    Configuration menu
    Copy the full SHA
    043d1f3 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#71845 - steveklabnik:add-const-examples, r=…

    …dtolnay
    
    Add const examples
    
    I only added them to `std::f32` to get feedback on this approach before adding the other constants.
    
    When looking at rust-lang#68952, I found the docs a little confusing. Unless you're intimately aware of what's going on here, I don't think it's super clear what is deprecated and what you're supposed to do instead. I think short examples really clarify what's meant here, so that's what I did.
    Dylan-DPC committed May 4, 2020
    Configuration menu
    Copy the full SHA
    49190c4 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#71883 - Dante-Broggi:patch-1, r=Dylan-DPC

    add a missing "at" in a comment
    Dylan-DPC committed May 4, 2020
    Configuration menu
    Copy the full SHA
    defe3d2 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#71891 - lcnr:not-iter-any, r=Dylan-DPC

    ¬∃x. ¬y => ∀x. y
    Dylan-DPC committed May 4, 2020
    Configuration menu
    Copy the full SHA
    38b8f78 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#71892 - integer32llc:btreemap-entry-vacant-…

    …docs, r=jonas-schievink
    
    Update btree_map::VacantEntry::insert docs to actually call insert
    
    It looks like they were copied from the `or_insert` docs. This change
    makes the example more like the hash_map::VacantEntry::insert docs.
    Dylan-DPC committed May 4, 2020
    Configuration menu
    Copy the full SHA
    eac9003 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#71904 - euclio:function-typo, r=jonas-schie…

    …vink
    
    fix typo in function name
    
    Drive-by fix.
    Dylan-DPC committed May 4, 2020
    Configuration menu
    Copy the full SHA
    fedb690 View commit details
    Browse the repository at this point in the history