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 25 pull requests #44623

Closed
wants to merge 71 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
758a0ce
alloc: Implement downcast Rc<Any> -> Rc<T>
bluss Sep 2, 2017
c22db3d
IP address convenience constructors
jcdyer Sep 7, 2017
ad170f2
Close doc examples and trim whitespace.
jcdyer Sep 7, 2017
8b6122f
Add feature gate to doctests.
jcdyer Sep 8, 2017
a095ee4
Add class for codeblocks
GuillaumeGomez Sep 6, 2017
9c12e5d
add test
GuillaumeGomez Sep 7, 2017
79f888d
Add arrow and improve display
GuillaumeGomez Sep 9, 2017
81ebab6
bump gcc for bootstrap
QuietMisdreavus Sep 12, 2017
db65375
Pointer part of the RFC
oli-obk Sep 13, 2017
18ab95f
Also use in memchr
oli-obk Sep 13, 2017
5cad391
rustc: Spawn `cmd /c emcc.bat` explicitly
alexcrichton Sep 13, 2017
2184663
Use "stable" version of the intrinsic on stage0
oli-obk Sep 13, 2017
d3bbce7
bring TyCtxt into scope
qmx Sep 8, 2017
d3c2386
extend E0623 for earlybound and latebound for structs
gaurikholkar Sep 13, 2017
f8df89a
adding ui tests
gaurikholkar Sep 13, 2017
696a268
fix depth for structs
gaurikholkar Sep 14, 2017
39c9a3d
Attempt to fix the component manifest problem for rls-preview
nrc Sep 5, 2017
9240454
add ui tests for EBR
gaurikholkar Sep 14, 2017
06478d1
rustdoc: pretty-print Unevaluated expressions in types.
eddyb Sep 14, 2017
1462cab
No need to duplicate the inherent method for stage0
oli-obk Sep 14, 2017
5229443
Delete fn.rs
gaurikholkar Sep 14, 2017
4253a41
Trim and document compiler-builtins shim
tamird Sep 12, 2017
509982c
Trim and document libc shim
tamird Sep 12, 2017
ddd321d
travis: Move sccache to the us-west-1 region
alexcrichton Sep 14, 2017
61a7703
Customize `<FlatMap as Iterator>::fold`
cuviper Sep 14, 2017
2bde694
bring TyCtxt into scope
qmx Sep 15, 2017
9d5b0e1
Add unstable attributes for Ipv?Addr constructors.
jcdyer Sep 15, 2017
3fe4612
bring Ty into scope
qmx Sep 15, 2017
a7817dd
rustc: Preallocate when building the dep graph
alexcrichton Sep 15, 2017
07494ec
Require +thumb-mode to generate thumb2 code for Android/armv7-a
makotokato Sep 15, 2017
1b571a0
Get `allow(unused_mut)` to work on `let` bindings
oli-obk Sep 15, 2017
5398e03
stabilized ord_max_min (fixes #25663)
budziq Sep 15, 2017
90dddf4
Extend cargotest to specify packages to test (within a Cargo workspace).
SimonSapin Sep 15, 2017
2819122
Update cargo submodule
alexcrichton Sep 15, 2017
9a01dc4
update rust-installer
RalfJung Sep 15, 2017
8772227
stabilized iterator_for_each (closes #42986)
budziq Sep 15, 2017
41c3dc5
Make cargotest run `cargo test --all` instead of `cargo test`,
SimonSapin Sep 15, 2017
e7bfa2f
Add Stylo to cargotest
SimonSapin Sep 15, 2017
033d7f6
Add WebRender to cargotest
SimonSapin Sep 15, 2017
6fdadaa
rustbuild: Update `cmake` dependency
alexcrichton Sep 15, 2017
3a39d95
alloc: Add tracking issue for rc_downcast
bluss Sep 15, 2017
351f56a
Add a specific test for `FlatMap::fold`
cuviper Sep 15, 2017
f7e974e
HashMap::new and HashSet::new do not allocate
jonhoo Sep 15, 2017
a589684
Move cargotest to separate jobs on Travis-CI and AppVeyor
SimonSapin Sep 15, 2017
3da54fb
rustbuild: Fix test "test rustdoc" invocation
alexcrichton Sep 15, 2017
5ff7064
Fix incorrect `into_inner` link in docs.
frewsxcv Sep 16, 2017
d04449b
Rollup merge of #44273 - bluss:rc-downcast, r=alexcrichton
frewsxcv Sep 16, 2017
ac3ac7c
Rollup merge of #44356 - nrc:rls-component-manifest, r=@alexcrichton
frewsxcv Sep 16, 2017
9ac81ba
Rollup merge of #44395 - jcdyer:ip-constructors, r=alexcrichton
frewsxcv Sep 16, 2017
8ce5a59
Rollup merge of #44397 - GuillaumeGomez:codeblock-color, r=QuietMisdr…
frewsxcv Sep 16, 2017
d658e4a
Rollup merge of #44515 - tamird:clean-shims, r=alexcrichton
frewsxcv Sep 16, 2017
5690502
Rollup merge of #44531 - QuietMisdreavus:bump-gcc, r=alexcrichton
frewsxcv Sep 16, 2017
458c805
Rollup merge of #44537 - oli-obk:memchr, r=alexcrichton
frewsxcv Sep 16, 2017
6501701
Rollup merge of #44542 - alexcrichton:fix-windows-emscripten, r=nikom…
frewsxcv Sep 16, 2017
eccc251
Rollup merge of #44549 - gaurikholkar:master, r=arielb1
frewsxcv Sep 16, 2017
6b9bbd7
Rollup merge of #44560 - qmx:import-TyCtxt, r=eddyb
frewsxcv Sep 16, 2017
143e236
Rollup merge of #44562 - eddyb:ugh-rustdoc, r=nikomatsakis
frewsxcv Sep 16, 2017
20ae064
Rollup merge of #44567 - budziq:stabilize_iterator_for_each, r=alexcr…
frewsxcv Sep 16, 2017
c6451f1
Rollup merge of #44574 - alexcrichton:new-sccache-region, r=aidanhs
frewsxcv Sep 16, 2017
10e6625
Rollup merge of #44577 - cuviper:flat_map-fold, r=alexcrichton
frewsxcv Sep 16, 2017
3aff408
Rollup merge of #44586 - alexcrichton:smaller-query, r=michaelwoerister
frewsxcv Sep 16, 2017
47ef349
Rollup merge of #44589 - makotokato:thumb2, r=alexcrichton
frewsxcv Sep 16, 2017
678a5c1
Rollup merge of #44590 - oli-obk:allow_unused_mut_on_vars, r=eddyb
frewsxcv Sep 16, 2017
1ae6ab4
Rollup merge of #44593 - budziq:stabilize_ord_max_min, r=alexcrichton
frewsxcv Sep 16, 2017
c1eb083
Rollup merge of #44598 - RalfJung:installer, r=alexcrichton
frewsxcv Sep 16, 2017
101db06
Rollup merge of #44603 - SimonSapin:stylo, r=alexcrichton
frewsxcv Sep 16, 2017
feefb48
Rollup merge of #44604 - alexcrichton:update-cargo, r=Mark-Simulacrum
frewsxcv Sep 16, 2017
ee5baff
Rollup merge of #44606 - alexcrichton:update-cmake, r=Mark-Simulacrum
frewsxcv Sep 16, 2017
d6c270c
Rollup merge of #44609 - jonhoo:hash-alloc, r=steveklabnik
frewsxcv Sep 16, 2017
d59ce55
Rollup merge of #44616 - alexcrichton:rustdoc-fix-again-whee, r=Mark-…
frewsxcv Sep 16, 2017
78ef3fe
Rollup merge of #44622 - frewsxcv:frewsxcv-invalid-link, r=QuietMisdr…
frewsxcv Sep 16, 2017
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
Prev Previous commit
Next Next commit
stabilized iterator_for_each (closes #42986)
updated clippy and rls as it uses the iterator_for_each
  • Loading branch information
budziq committed Sep 15, 2017
commit 8772227758ca08f77ff7d1a886b26a3170244d1d
6 changes: 3 additions & 3 deletions src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 0 additions & 17 deletions src/doc/unstable-book/src/library-features/iterator-for-each.md

This file was deleted.

6 changes: 1 addition & 5 deletions src/libcore/iter/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,6 @@ pub trait Iterator {
/// Basic usage:
///
/// ```
/// #![feature(iterator_for_each)]
///
/// use std::sync::mpsc::channel;
///
/// let (tx, rx) = channel();
Expand All @@ -514,15 +512,13 @@ pub trait Iterator {
/// might be preferable to keep a functional style with longer iterators:
///
/// ```
/// #![feature(iterator_for_each)]
///
/// (0..5).flat_map(|x| x * 100 .. x * 110)
/// .enumerate()
/// .filter(|&(i, x)| (i + x) % 3 == 0)
/// .for_each(|(i, x)| println!("{}:{}", i, x));
/// ```
#[inline]
#[unstable(feature = "iterator_for_each", issue = "42986")]
#[stable(feature = "iterator_for_each", since = "1.22.0")]
fn for_each<F>(self, mut f: F) where
Self: Sized, F: FnMut(Self::Item),
{
Expand Down
2 changes: 1 addition & 1 deletion src/tools/rls
Submodule rls updated from 8dd709 to 7221e3