8000 Rollup of 9 pull requests by Manishearth · Pull Request #73838 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 9 pull requests #73838

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

Merged
merged 32 commits into from
Jun 28, 2020
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4c8ce48
Add partition_point
VillSnow Jun 21, 2020
c9b4915
fix: doc test
VillSnow Jun 21, 2020
27b06f1
update: doc comment
VillSnow Jun 22, 2020
8cc6998
add: tests
VillSnow Jun 22, 2020
558c8a8
Handle stores to projections correctly in liveness analysis
ecstatic-morse Jun 26, 2020
2340197
Add peek test for projections
ecstatic-morse Jun 26, 2020
88fe556
Add test for issue-71381
JohnTitor Jun 27, 2020
4c14f9d
Forward Hash::write_iN to Hash::write_uN
nikic Jun 27, 2020
99884bd
Add test for issue-71382
JohnTitor Jun 27, 2020
7125ce7
Add test for issue-71611
JohnTitor Jun 27, 2020
1d16aed
Add test for issue-72352
JohnTitor Jun 27, 2020
ffcfaa1
Fix comment.
ecstatic-morse Jun 27, 2020
6d0e5bf
Rename two `Resolver` traits
petrochenkov Jun 27, 2020
c72a5dd
Rename the lint to clashing_extern_declarations.
jumbatm Jun 28, 2020
8291a22
Fix docstring typo
cjrh Jun 28, 2020
52f9762
Add comment on use of unsafe
VillSnow Jun 28, 2020
9335787
Update src/libcore/slice/mod.rs
VillSnow Jun 28, 2020
83d5998
Merge branch 'master' of https://github.com/VillSnow/rust
VillSnow Jun 28, 2020
d720a19
Update doc comment
VillSnow Jun 28, 2020
60f2ba2
Update tracking issue number
VillSnow Jun 28, 2020
4d978af
Remove GlobalCtxt::enter_local
bjorn3 Jun 28, 2020
b9f4e0d
Erase all block-only locals at the end of every block, even if they h…
oli-obk Jun 26, 2020
6f8ad3b
Update src/libcore/slice/mod.rs
VillSnow Jun 28, 2020
ec48989
Rollup merge of #73577 - VillSnow:master, r=Amanieu
Manishearth Jun 28, 2020
ccc1bf7
Rollup merge of #73757 - oli-obk:const_prop_hardening, r=wesleywiser
Manishearth Jun 28, 2020
3f826a8
Rollup merge of #73774 - ecstatic-morse:liveness-of-projections, r=ol…
Manishearth Jun 28, 2020
2c1b732
Rollup merge of #73795 - JohnTitor:tests-for-const-fn-ptrs, r=oli-obk
Manishearth Jun 28, 2020
95da53f
Rollup merge of #73800 - nikic:hash_i, r=kennytm
Manishearth Jun 28, 2020
dd81139
Rollup merge of #73813 - petrochenkov:restrait, r=davidtwco
Manishearth Jun 28, 2020
8b92eec
Rollup merge of #73817 - jumbatm:rename-to-clashing-extern-declaratio…
Manishearth Jun 28, 2020
5304511
Rollup merge of #73826 - cjrh:cjrh-patch-1, r=jonas-schievink
Manishearth Jun 28, 2020
117b734
Rollup merge of #73833 - bjorn3:remove_gcx_enter_local, r=matthewjasper
Manishearth Jun 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
BFA7
Prev Previous commit
Next Next commit
fix: doc test
  • Loading branch information
VillSnow committed Jun 21, 2020
commit c9b49157057a83a97801f9e726ed8051fb1d2231
6 changes: 3 additions & 3 deletions src/libcore/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2676,11 +2676,11 @@ impl<T> [T] {
/// #![feature(partition_point)]
///
/// let v = [1, 2, 3, 3, 5, 6, 7];
/// let i = xs.partition_point(|&x| x < 5);
/// let i = v.partition_point(|&x| x < 5);
///
/// assert_eq!(i, 4);
/// assert!(xs[..i].iter().all(|&x| x < 5));
/// assert!(xs[i..].iter().all(|&x| !(x < 5)));
/// assert!(v[..i].iter().all(|&x| x < 5));
/// assert!(v[i..].iter().all(|&x| !(x < 5)));
/// ```
#[unstable(feature = "partition_point", reason = "new API", issue = "99999")]
pub fn partition_point<P>(&self, mut pred: P) -> usize
Expand Down
0