File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ impl<F> ExactSizeIterator for Linspace<F> where Linspace<F>: Iterator {}
6666///
6767/// The `Linspace` has `n` elements from `a` to `b` (inclusive).
6868///
69- /// The iterator element type is `F`, where `F` must implement `Float`, e.g.
70- /// `f32` or `f64`.
69+ /// The iterator element type is `F`, where `F` must implement [ `Float`] , e.g.
70+ /// [ `f32`] or [ `f64`] .
7171///
7272/// **Panics** if converting `n - 1` to type `F` fails.
7373#[ inline]
@@ -89,13 +89,13 @@ where
8989 }
9090}
9191
92- /// Return an iterator of floats from `start ` to `end ` (exclusive),
92+ /// Return an iterator of floats from `a ` to `b ` (exclusive),
9393/// incrementing by `step`.
9494///
9595/// Numerical reasons can result in `b` being included in the result.
9696///
97- /// The iterator element type is `F`, where `F` must implement `Float`, e.g.
98- /// `f32` or `f64`.
97+ /// The iterator element type is `F`, where `F` must implement [ `Float`] , e.g.
98+ /// [ `f32`] or [ `f64`] .
9999///
100100/// **Panics** if converting `((b - a) / step).ceil()` to type `F` fails.
101101#[ inline]
You can’t perform that action at this time.
0 commit comments