Skip to content

Commit 23f8b29

Browse files
authored
clarify shuffle docs (#1259)
1 parent 8d70f50 commit 23f8b29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/seq/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ pub trait SliceRandom {
235235
/// Shuffle a mutable slice in place.
236236
///
237237
/// For slices of length `n`, complexity is `O(n)`.
238+
/// The resulting permutation is picked uniformly from the set of all possible permutations.
238239
///
239240
/// # Example
240241
///

0 commit comments

Comments
 (0)