Skip to content

Commit 8aa5dd8

Browse files
committed
Fix clippy and docs
1 parent 5dab92a commit 8aa5dd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ndarray-rand/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub mod rand_distr
6464
/// Note that `SmallRng` is cheap to initialize and fast, but it may generate
6565
/// low-quality random numbers, and reproducibility is not guaranteed. See its
6666
/// documentation for information. You can select a different RNG with
67-
/// [`.random_using()`](Self::random_using).
67+
/// [`.random_using()`](RandomExt::random_using).
6868
pub trait RandomExt<S, A, D>
6969
where
7070
S: RawData<Elem = A>,
@@ -306,7 +306,7 @@ where
306306
S: Data<Elem = A>,
307307
D: RemoveAxis,
308308
{
309-
(&**self).sample_axis_using(axis, n_samples, strategy, rng)
309+
(**self).sample_axis_using(axis, n_samples, strategy, rng)
310310
}
311311
}
312312

0 commit comments

Comments
 (0)