We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e750399 commit 4a63647Copy full SHA for 4a63647
src/linspace.rs
@@ -74,9 +74,7 @@ impl<F> ExactSizeIterator for Linspace<F> where Linspace<F>: Iterator {}
74
/// The iterator element type is `F`, where `F` must implement [`Float`], e.g.
75
/// [`f32`] or [`f64`].
76
///
77
-/// ## Panics
78
-/// - If called with a range type other than `a..b` or `a..=b`.
79
-/// - If converting `n` to type `F` fails.
+/// **Panics** if converting `n` to type `F` fails.
80
#[inline]
81
pub fn linspace<R, F>(range: R, n: usize) -> Linspace<F>
82
where
0 commit comments