Skip to content

Commit

Permalink
allow redundant rand imports in nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
starkat99 committed Feb 25, 2024
1 parent a61e4f2 commit c57c9e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rand_distr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down

0 comments on commit c57c9e9

Please sign in to comment.