From c57c9e9527dfcd3f4cfd8800604d98a1d68fa70e Mon Sep 17 00:00:00 2001 From: Kathryn Long Date: Sun, 25 Feb 2024 18:19:10 -0500 Subject: [PATCH] allow redundant `rand` imports in nightly --- src/rand_distr.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rand_distr.rs b/src/rand_distr.rs index 2430096..decb974 100644 --- a/src/rand_distr.rs +++ b/src/rand_distr.rs @@ -97,6 +97,7 @@ impl rand_distr::uniform::UniformSampler for BFloat16Sampler { mod tests { use super::*; + #[allow(unused_imports)] use rand::{thread_rng, Rng}; use rand_distr::{Standard, StandardNormal, Uniform};