Skip to content

Commit f3dd0b8

Browse files
authored
fix partial_shuffle documentation (#1335)
1 parent 5b99004 commit f3dd0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/seq/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ pub trait SliceRandom {
274274
///
275275
/// If you only need to choose elements randomly and `amount > self.len()/2`
276276
/// then you may improve performance by taking
277-
/// `amount = values.len() - amount` and using only the second slice.
277+
/// `amount = self.len() - amount` and using only the second slice.
278278
///
279279
/// If `amount` is greater than the number of elements in the slice, this
280280
/// will perform a full shuffle.

0 commit comments

Comments
 (0)