Skip to content

Commit

Permalink
clarify shuffle docs
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Oct 6, 2022
1 parent 766c7ec commit a02f1fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/seq/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,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 a02f1fd

Please sign in to comment.