File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,8 @@ impl Distribution<u64> for Geometric
143143///
144144/// See [`Geometric`](crate::Geometric) for the general geometric distribution.
145145///
146- /// Implemented via iterated [Rng::gen::<u64>().leading_zeros()].
146+ /// Implemented via iterated
147+ /// [`Rng::gen::<u64>().leading_zeros()`](Rng::gen::<u64>().leading_zeros()).
147148///
148149/// # Example
149150/// ```
Original file line number Diff line number Diff line change 5252//! `low < high`). The example below merely wraps another back-end.
5353//!
5454//! The `new`, `new_inclusive` and `sample_single` functions use arguments of
55- //! type SampleBorrow<X> to support passing in values by reference or
55+ //! type ` SampleBorrow<X>` to support passing in values by reference or
5656//! by value. In the implementation of these functions, you can choose to
5757//! simply use the reference returned by [`SampleBorrow::borrow`], or you can choose
5858//! to copy or clone the value, whatever is appropriate for your type.
You can’t perform that action at this time.
0 commit comments