Skip to content

Rollup of 14 pull requests #142644

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 18, 2025
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
62435f9
impl `Default` for `array::IntoIter`
fee1-dead May 26, 2025
5f0dd44
avoid `&mut P<T>` in `visit_expr` etc methods
fee1-dead Jun 11, 2025
0e1db54
Windows: Use anonymous pipes in Command
ChrisDenton Jun 14, 2025
e8dfd81
linked_list tests: less static mut
hkBst Jun 16, 2025
23e35c6
Add support for repetition to `proc_macro::quote`
moatom May 26, 2025
7d3a1d4
make more CodegenCx function generic
ZuseZ4 Jun 16, 2025
6359123
add and use generic get_const_int function
ZuseZ4 Jun 16, 2025
00c1042
rustdoc: make srcIndex no longer a global variable
lolbinarycat Jun 5, 2025
f1fea6c
don't unwrap in enzyme builds in case of missing llvm-config
ZuseZ4 Jun 17, 2025
de792eb
compiler: Redescribe rustc_target::spec more accurately
workingjubilee Jun 17, 2025
679a2e3
compiler: Redescribe rustc_target search algo more accurately
workingjubilee Jun 17, 2025
2d3a37d
linked_list tests: buff check_links
hkBst Jun 16, 2025
2bbc974
Lint about `console` calls in rustdoc JS
GuillaumeGomez Jun 17, 2025
e3c21dd
Remove a panicking branch in `BorrowedCursor::advance`
a1phyr Jun 17, 2025
1ab8ff5
Add test suggest-remove-semi-in-macro-expansion-issue-142143.rs
xizheyin Jun 17, 2025
3f1de7b
Update cargo
ehuss Jun 17, 2025
72fbf3e
Dont suggest remove semi inside macro expansion for redundant semi lint
xizheyin Jun 17, 2025
a88a32d
Temporarily add back -Zwasm-c-abi=spec
bjorn3 Jun 17, 2025
da985cb
Rollup merge of #141574 - fee1-dead-contrib:push-owzulzmzszzx, r=jhpratt
jhpratt Jun 17, 2025
17ab49a
Rollup merge of #141608 - moatom:proc_macro-140238, r=dtolnay
jhpratt Jun 17, 2025
0772ee7
Rollup merge of #142100 - lolbinarycat:rustdoc-srcIndex-138467, r=Gui…
jhpratt Jun 17, 2025
e95fb09
Rollup merge of #142371 - fee1-dead-contrib:push-xqlkumzurkus, r=petr…
jhpratt Jun 17, 2025
b5fcc90
Rollup merge of #142517 - ChrisDenton:anon-pipe, r=Mark-Simulacrum
jhpratt Jun 17, 2025
eb7d246
Rollup merge of #142520 - hkBst:less-static-mut, r=tgross35
jhpratt Jun 17, 2025
0eb8a66
Rollup merge of #142588 - ZuseZ4:generic-ctx-imprv, r=oli-obk
jhpratt Jun 17, 2025
504b1a1
Rollup merge of #142605 - ZuseZ4:autodiff-check-builds2, r=oli-obk
jhpratt Jun 17, 2025
6acda82
Rollup merge of #142608 - workingjubilee:redescribe-rustc_target-more…
jhpratt Jun 17, 2025
a47b364
Rollup merge of #142618 - GuillaumeGomez:eslint-no-console, r=lolbina…
jhpratt Jun 17, 2025
6148ec9
Rollup merge of #142620 - a1phyr:borrowed_buf_remove_branch, r=jhpratt
jhpratt Jun 17, 2025
f663823
Rollup merge of #142631 - xizheyin:142143, r=Urgau
jhpratt Jun 17, 2025
55b3b66
Rollup merge of #142632 - ehuss:update-cargo, r=ehuss
jhpratt Jun 17, 2025
3ec1451
Rollup merge of #142635 - bjorn3:add_back_wasm_spec_abi, r=workingjub…
jhpratt Jun 17, 2025
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
Next Next commit
impl Default for array::IntoIter
  • Loading branch information
fee1-dead committed May 26, 2025
commit 62435f922a0b0b100f217f13047d4741c14ec1c5
7 changes: 7 additions & 0 deletions library/core/src/array/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ impl<T, const N: usize> IntoIter<T, N> {
}
}

#[stable(feature = "array_value_iter_default", since = "CURRENT_RUSTC_VERSION")]
impl<T, const N: usize> Default for IntoIter<T, N> {
fn default() -> Self {
IntoIter::empty()
}
}

#[stable(feature = "array_value_iter_impls", since = "1.40.0")]
impl<T, const N: usize> Iterator for IntoIter<T, N> {
type Item = T;
Expand Down
Loading