clarify shuffle docs (#1259)
This commit is contained in:
parent
8d70f5017f
commit
23f8b2986e
@ -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
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user