darkfi_
sdk
0.5.0
In darkfi_
sdk::
monotree::
utils
darkfi_sdk
::
monotree
::
utils
Function
shuffle
Copy item path
Source
pub fn shuffle<T:
Clone
>(slice: &mut
[T]
)
Expand description
Shuffle a slice using
Fisher-Yates
algorithm.