Skip to content

Commit 5b931a9

Browse files
johann-cmNil Goyette
authored andcommitted
improve doc-comments
1 parent 05e854c commit 5b931a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/logspace.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ impl<F> ExactSizeIterator for Logspace<F> where Logspace<F>: Iterator {}
6868

6969
/// An iterator of a sequence of logarithmically spaced numbers.
7070
///
71-
/// The `Logspace` has `n` elements, where the first element is `base.powf(a)`
71+
/// The [`Logspace`] has `n` elements, where the first element is `base.powf(a)`
7272
/// and the last element is `base.powf(b)`. If `base` is negative, this
7373
/// iterator will return all negative values.
7474
///
75-
/// The iterator element type is `F`, where `F` must implement `Float`, e.g.
76-
/// `f32` or `f64`.
75+
/// The iterator element type is `F`, where `F` must implement [`Float`], e.g.
76+
/// [`f32`] or [`f64`].
7777
///
7878
/// **Panics** if converting `n - 1` to type `F` fails.
7979
#[inline]

0 commit comments

Comments
 (0)