fn generate_random_seed_if_not_specified(seed: u64) -> u64 {
        if seed == 0 {
            let mut rng = rand::thread_rng();
            rng.gen()
        } else {
            seed
        }
    }
/// Generate a random seed, or pass one through if specified.
Generate a random seed, or pass one through if specified.
Generate a random seed or pass one through if specified .
fn generate_random_seed_if_not_specified(seed: u64) -> u64 {
        if seed == 0 {
            let mut rng = rand::thread_rng();
            rng.gen()
        } else {
            seed
        }
    }
fn generate_random_seed_if_not_specified ( seed : u64 ) -> u64 { if seed == 0 { let mut rng = rand :: thread_rng ( ) ; rng . gen ( ) } else { seed } }
Generate a random seed, or pass one through if specified.
Generate a random seed or pass one through if specified .
seed
u64
seed
u64