diff --git a/src/distributions/distribution.rs b/src/distributions/distribution.rs index f305128f81..18ab30b886 100644 --- a/src/distributions/distribution.rs +++ b/src/distributions/distribution.rs @@ -159,14 +159,6 @@ where { } -#[cfg(feature = "nightly")] -impl iter::TrustedLen for DistIter -where - D: Distribution, - R: Rng, -{ -} - /// A distribution of values of type `S` derived from the distribution `D` /// by mapping its output of type `T` through the closure `F`. ///