Skip to content

Commit

Permalink
clarify shuffle docs (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Oct 11, 2022
1 parent 8d70f50 commit 23f8b29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/seq/mod.rs
Expand Up @@ -235,6 +235,7 @@ pub trait SliceRandom {
/// Shuffle a mutable slice in place.
///
/// For slices of length `n`, complexity is `O(n)`.
/// The resulting permutation is picked uniformly from the set of all possible permutations.
///
/// # Example
///
Expand Down

0 comments on commit 23f8b29

Please sign in to comment.