fix: random doctest

This commit is contained in:
dogeystamp 2024-11-16 21:54:03 -05:00
parent 987ec7656f
commit 7c55400fbf

View File

@ -53,6 +53,7 @@ const fn pcg64_seed(mut rng: Pcg64Random) -> Pcg64Random {
/// Example (generate 10 random numbers):
///
///```rust
/// use crate::random::random_arr_64;
/// const ARR: [u64; 10] = random_arr_64(123456);
///```
pub const fn random_arr_64<const N: usize>(seed: u128) -> [u64; N] {