Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove panic from comment
  • Loading branch information
Kwonunn committed Feb 2, 2026
commit 4a6364721aede2fc106e7e27bd873c66df14a8d2
4 changes: 1 addition & 3 deletions src/linspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ impl<F> ExactSizeIterator for Linspace<F> where Linspace<F>: Iterator {}
/// The iterator element type is `F`, where `F` must implement [`Float`], e.g.
/// [`f32`] or [`f64`].
///
/// ## Panics
/// - If called with a range type other than `a..b` or `a..=b`.
/// - If converting `n` to type `F` fails.
/// **Panics** if converting `n` to type `F` fails.
#[inline]
pub fn linspace<R, F>(range: R, n: usize) -> Linspace<F>
where
Expand Down
Loading