clarify shuffle docs (#1259)

This commit is contained in:
Ralf Jung 2022-10-11 10:07:15 +02:00 committed by GitHub
parent 8d70f5017f
commit 23f8b2986e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
///