Skip to content

Commit 98756f5

Browse files
authored
Remove unnecessary underscore
1 parent e0a70fd commit 98756f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/distr/other.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ where
237237
StandardUniform: Distribution<T>,
238238
{
239239
#[inline]
240-
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; N] {
241-
array::from_fn(|_| _rng.random())
240+
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> [T; N] {
241+
array::from_fn(|_| rng.random())
242242
}
243243
}
244244

0 commit comments

Comments
 (0)