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 7 pull requests #131879

Closed
wants to merge 19 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
24810b0
Partially stabilize const_pin
GKFX Sep 9, 2024
3ed5d55
Fix predicate signatures in retain_mut docs
collinoc Oct 17, 2024
cdacdae
remove outdated documentation for `repeat_n`
AnthonyMikh Oct 17, 2024
7b2320c
Avoid shadowing user provided types or type aliases in `thread_local!`
jieyouxu Oct 18, 2024
21a0208
Consolidate test collection state in one place
Zalathar Oct 18, 2024
932e9f0
Store test collection context/state in two structs
Zalathar Oct 18, 2024
c4c62a5
Rename `inputs` to `common_inputs_stamp`
Zalathar Oct 18, 2024
3f8d87b
Rename `found_paths` to `found_path_stems`
Zalathar Oct 18, 2024
5540976
Rename `stamp` to `stamp_file_path`
Zalathar Oct 18, 2024
275ec06
Default to the medium code model on OpenHarmony LoongArch target
heiher Oct 18, 2024
cc5fd6a
Store path stems in a BTreeSet
Zalathar Oct 18, 2024
b096f90
checktools.sh: add link to issue for more context about disabled Miri…
RalfJung Oct 18, 2024
da3c66a
Rollup merge of #130136 - GKFX:stabilize-const-pin, r=dtolnay
jhpratt Oct 18, 2024
11b8085
Rollup merge of #131809 - collinoc:fix-retain-mut-docs, r=jhpratt
jhpratt Oct 18, 2024
17376f2
Rollup merge of #131858 - AnthonyMikh:AnthonyMikh/repeat_n-is-not-tha…
jhpratt Oct 18, 2024
07532fc
Rollup merge of #131866 - jieyouxu:thread_local, r=jhpratt
jhpratt Oct 18, 2024
8181aa9
Rollup merge of #131870 - Zalathar:test-collector, r=jieyouxu
jhpratt Oct 18, 2024
e03847f
Rollup merge of #131874 - heiher:loong-ohos-medium, r=jieyouxu
jhpratt Oct 18, 2024
092b1b1
Rollup merge of #131877 - RalfJung:checktools-comment, r=jieyouxu
jhpratt Oct 18, 2024
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
remove outdated documentation for repeat_n
After rust/#106943 the part about `ExactSizeIterator` is no longer valid
AnthonyMikh authored Oct 17, 2024
commit cdacdae01f44763603d797e310c056015d1f0e1d
4 changes: 1 addition & 3 deletions library/core/src/iter/sources/repeat_n.rs
Original file line number Diff line number Diff line change
@@ -8,9 +8,7 @@ use crate::num::NonZero;
/// The `repeat_n()` function repeats a single value exactly `n` times.
///
/// This is very similar to using [`repeat()`] with [`Iterator::take()`],
/// but there are two differences:
/// - `repeat_n()` can return the original value, rather than always cloning.
/// - `repeat_n()` produces an [`ExactSizeIterator`].
/// but `repeat_n()` can return the original value, rather than always cloning.
///
/// [`repeat()`]: crate::iter::repeat
///