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 {}
66
66
///
67
67
/// The `Linspace` has `n` elements from `a` to `b` (inclusive).
68
68
///
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`] .
71
71
///
72
72
/// **Panics** if converting `n - 1` to type `F` fails.
73
73
#[ inline]
@@ -89,13 +89,13 @@ where
89
89
}
90
90
}
91
91
92
- /// Return an iterator of floats from `start ` to `end ` (exclusive),
92
+ /// Return an iterator of floats from `a ` to `b ` (exclusive),
93
93
/// incrementing by `step`.
94
94
///
95
95
/// Numerical reasons can result in `b` being included in the result.
96
96
///
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`] .
99
99
///
100
100
/// **Panics** if converting `((b - a) / step).ceil()` to type `F` fails.
101
101
#[ inline]
You can’t perform that action at this time.
0 commit comments