Skip to content

Commit

Permalink
Fix doc links.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3vu0r committed Sep 14, 2024
1 parent 14cb441 commit 5db7ef2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ impl<W: Write + Seek> NpzWriter<W> {

/// Adds an array with the specified `name` to the `.npz` file.
///
/// To write a scalar value, create a zero-dimensional array using [`arr0`](ndarray::arr0) or
/// [`aview0`](ndarray::aview0).
/// To write a scalar value, create a zero-dimensional array using [`arr0`] or [`aview0`].
///
/// # Errors
///
Expand All @@ -190,10 +189,9 @@ impl<W: Write + Seek> NpzWriter<W> {
///
/// This finishes writing the remaining zip structures and flushes the
/// writer. While dropping will automatically attempt to finish the zip
/// file and (for writers that flush on drop, such as
/// [`BufWriter`](std::io::BufWriter)) flush the writer, any errors that
/// occur during drop will be silently ignored. So, it's necessary to call
/// `.finish()` to properly handle errors.
/// file and (for writers that flush on drop, such as [`BufWriter`]) flush
/// the writer, any errors that occur during drop will be silently ignored.
/// So, it's necessary to call `.finish()` to properly handle errors.
///
/// # Errors
///
Expand Down

0 comments on commit 5db7ef2

Please sign in to comment.