Skip to content

Commit

Permalink
fix doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
ripytide committed May 26, 2024
1 parent b119c98 commit a15ddf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/io/reader.rs → src/io/image_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl<'a, R: 'a + BufRead + Seek> ImageReader<R> {
///
/// ## Usage
///
/// This supplements the path based type deduction from [`open`](Reader::open) with content based deduction.
/// This supplements the path based type deduction from [`ImageReader::open()`] with content based deduction.
/// This is more common in Linux and UNIX operating systems and also helpful if the path can
/// not be directly controlled.
///
Expand Down
4 changes: 2 additions & 2 deletions src/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
use crate::{error, ColorType, ImageError, ImageResult};

pub(crate) mod free_functions;
mod reader;
mod image_reader;

pub use self::reader::ImageReader;
pub use self::image_reader::ImageReader;

/// Set of supported strict limits for a decoder.
#[derive(Clone, Debug, Default, Eq, PartialEq, Hash)]
Expand Down

0 comments on commit a15ddf1

Please sign in to comment.