We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f8106ef + 743661e commit 1a880aaCopy full SHA for 1a880aa
src/distributions/uniform.rs
@@ -80,7 +80,10 @@
80
//! where B1: SampleBorrow<Self::X> + Sized,
81
//! B2: SampleBorrow<Self::X> + Sized
82
//! {
83
-//! UniformSampler::new(low, high)
+//! UniformMyF32(UniformFloat::<f32>::new_inclusive(
84
+//! low.borrow().0,
85
+//! high.borrow().0,
86
+//! ))
87
//! }
88
//! fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Self::X {
89
//! MyF32(self.0.sample(rng))
0 commit comments