diff --git a/src/bigrand.rs b/src/bigrand.rs index 7773a0d9..077d7447 100644 --- a/src/bigrand.rs +++ b/src/bigrand.rs @@ -43,8 +43,9 @@ impl RandBigInt for R { let mut data = vec![BigDigit::default(); digits + (rem > 0) as usize]; // `fill_bytes` is faster than many `gen::` calls self.fill_bytes(data[..].as_byte_slice_mut()); - // per the `Rng::fill` source, might be unnecessary if - // reproducibility across architectures is not desired + // Swap bytes per the `Rng::fill` source. This might be + // unnecessary if reproducibility across architectures is not + // desired. data.to_le(); if rem > 0 { data[digits] >>= BITS - rem;