Skip to content

Commit 043b304

Browse files
committed
Fix some links in doc
1 parent cc17472 commit 043b304

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/buffer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ where
592592
/// been shown to improve performance.
593593
///
594594
/// The crate defines a few type aliases with regularly used pixel types for your convenience, such
595-
/// as `RgbImage`, `GrayImage` etc.
595+
/// as [`RgbImage`], [`GrayImage`] etc.
596596
///
597597
/// [`GenericImage`]: trait.GenericImage.html
598598
/// [`GenericImageView`]: trait.GenericImageView.html
@@ -1042,7 +1042,7 @@ where
10421042
/// Assumes the writer is buffered. In most cases,
10431043
/// you should wrap your writer in a `BufWriter` for best performance.
10441044
///
1045-
/// See [`ImageOutputFormat`](../enum.ImageOutputFormat.html) for
1045+
/// See [`ImageOutputFormat`](enum.ImageOutputFormat.html) for
10461046
/// supported types.
10471047
pub fn write_to<W, F>(&self, writer: &mut W, format: F) -> ImageResult<()>
10481048
where

0 commit comments

Comments
 (0)