-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 #72262
Rollup of 7 pull requests #72262
Commits on May 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5e35493 - Browse repository at this point
Copy the full SHA 5e35493View commit details -
Configuration menu - View commit details
-
Copy full SHA for 403a9d0 - Browse repository at this point
Copy the full SHA 403a9d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c6e568 - Browse repository at this point
Copy the full SHA 8c6e568View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bdaced - Browse repository at this point
Copy the full SHA 3bdacedView commit details -
Configuration menu - View commit details
-
Copy full SHA for e26f35d - Browse repository at this point
Copy the full SHA e26f35dView commit details
Commits on May 13, 2020
-
Use simpler impls for some
Iterator
methods for slices.The default implementations of several `Iterator` methods use `fold` or `try_fold`, which works, but is overkill for slices and bloats the amount of LLVM IR generated and consequently hurts compile times. This commit adds the simple, obvious implementations for `for_each`, `all`, `any`, `find`, `find_map`, and simplifies the existing implementations for `position` and `rposition`. These changes reduce compile times significantly on some benchmarks.
Configuration menu - View commit details
-
Copy full SHA for 5a0ac05 - Browse repository at this point
Copy the full SHA 5a0ac05View commit details -
Change
Iterator::nth
to useself.next()
in awhile
loop.Currently it uses `for x in self`, which seems dubious within an iterator method. Furthermore, `self.next()` is used in all the other iterator methods.
Configuration menu - View commit details
-
Copy full SHA for 3b10858 - Browse repository at this point
Copy the full SHA 3b10858View commit details
Commits on May 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 00268be - Browse repository at this point
Copy the full SHA 00268beView commit details -
Updated documentation of Prefix::VerbatimDisk
PrefixComponent with Prefix::VerbatimDisk does not contain the trailing slash. The documentation here is also inconsistent with the documentation on other variants that reflect the `PrefixComponent::as_os_str()` return value.
Configuration menu - View commit details
-
Copy full SHA for 084cdde - Browse repository at this point
Copy the full SHA 084cddeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5ea925 - Browse repository at this point
Copy the full SHA d5ea925View commit details -
Improve the documentation for ManuallyDrop to resolve conflicting usa…
…ge of terminology.
Configuration menu - View commit details
-
Copy full SHA for 7433c4d - Browse repository at this point
Copy the full SHA 7433c4dView commit details
Commits on May 16, 2020
-
Fix typo Arbintrary to Arbitrary
Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 78eb64f - Browse repository at this point
Copy the full SHA 78eb64fView commit details -
Rollup merge of rust-lang#71625 - Diggsey:improve-manually-drop-docs,…
… r=RalfJung Improve the documentation for ManuallyDrop to resolve conflicting usage of terminology cc @RalfJung Follow-up from rust-lang/unsafe-code-guidelines#233
Configuration menu - View commit details
-
Copy full SHA for 9c32e7a - Browse repository at this point
Copy the full SHA 9c32e7aView commit details -
Rollup merge of rust-lang#71919 - Xanewok:bump-syn-1, r=Xanewok
Update transitive dependency to work towards removing syn <1.0 dep This bumps a couple of transitive dependencies in hopes of eventually not transitively depending on syn <1.0 and friends. The only upstream changes that this is blocked on seems to be mattico/elasticlunr-rs#27 and rust-lang/mdBook#1210. While working on rust-lang#71875 I noticed we still use syn 0.15 here and there so this is a drive-by PR which aims to help with things a bit.
Configuration menu - View commit details
-
Copy full SHA for 9dd7ad3 - Browse repository at this point
Copy the full SHA 9dd7ad3View commit details -
Rollup merge of rust-lang#72166 - nnethercote:simpler-slice-Iterator-…
…methods, r=cuviper Simpler slice `Iterator` methods These reduce the amount of LLVM IR generated, helping compile times. r? @cuviper
Configuration menu - View commit details
-
Copy full SHA for e8f0fb1 - Browse repository at this point
Copy the full SHA e8f0fb1View commit details -
Rollup merge of rust-lang#72216 - doctorn:require-lang-item, r=lcnr
Remove `lang_items\(\).*\.unwrap\(\)` Follows up rust-lang#72170 to remove the remaining uses of `lang_items\(\).*\.unwrap\(\)` (avoids a bunch of potential ICEs when working in `#![no_core]`). Resolves rust-lang#72195
Configuration menu - View commit details
-
Copy full SHA for 1be88e6 - Browse repository at this point
Copy the full SHA 1be88e6View commit details -
Rollup merge of rust-lang#72230 - SOF3:patch-1, r=kennytm
Updated documentation of Prefix::VerbatimDisk PrefixComponent with Prefix::VerbatimDisk does not contain the trailing slash. The documentation here is also inconsistent with the documentation on other variants that reflect the `PrefixComponent::as_os_str()` return value.
Configuration menu - View commit details
-
Copy full SHA for 8b1cc10 - Browse repository at this point
Copy the full SHA 8b1cc10View commit details -
Rollup merge of rust-lang#72234 - dtolnay:default, r=petrochenkov
Implement Default for proc_macro::TokenStream Hopefully this is uncontroversial. The only reason we've made it this far without is that proc-macro2 snuck this in for their TokenStream.
Configuration menu - View commit details
-
Copy full SHA for 25c91ea - Browse repository at this point
Copy the full SHA 25c91eaView commit details -
Rollup merge of rust-lang#72258 - Rustin-Liu:rustin-patch-typo, r=dto…
…lnay Fix typo Arbintrary to Arbitrary Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> Closes rust-lang#72122.
Configuration menu - View commit details
-
Copy full SHA for e43dd47 - Browse repository at this point
Copy the full SHA e43dd47View commit details