Skip to content

Commit 4a63647

Browse files
committed
remove panic from comment
1 parent e750399 commit 4a63647

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/linspace.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ impl<F> ExactSizeIterator for Linspace<F> where Linspace<F>: Iterator {}
7474
/// The iterator element type is `F`, where `F` must implement [`Float`], e.g.
7575
/// [`f32`] or [`f64`].
7676
///
77-
/// ## Panics
78-
/// - If called with a range type other than `a..b` or `a..=b`.
79-
/// - If converting `n` to type `F` fails.
77+
/// **Panics** if converting `n` to type `F` fails.
8078
#[inline]
8179
pub fn linspace<R, F>(range: R, n: usize) -> Linspace<F>
8280
where

0 commit comments

Comments
 (0)