Skip to content

Commit

Permalink
Fix links in docs
Browse files Browse the repository at this point in the history
Mistaken while copying code from jxl-oxide 😅
  • Loading branch information
tirr-c committed Sep 19, 2024
1 parent 2f366ce commit fdf6f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jxl/src/container/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl ContainerParser {
/// The parser might not fully consume the buffer. Use [`previous_consumed_bytes`] to get how
/// many bytes are consumed. Bytes not consumed by the parser should be processed again.
///
/// [`previous_consumed_bytes`]: ContainerDetectingReader::previous_consumed_bytes
/// [`previous_consumed_bytes`]: ContainerParser::previous_consumed_bytes
pub fn process_bytes<'inner, 'buf>(
&'inner mut self,
input: &'buf [u8],
Expand All @@ -91,7 +91,7 @@ impl ContainerParser {
///
/// Bytes not consumed by the parser should be fed into the parser again.
///
/// [`process_bytes`]: ContainerDetectingReader::process_bytes
/// [`process_bytes`]: ContainerParser::process_bytes
pub fn previous_consumed_bytes(&self) -> usize {
self.previous_consumed_bytes
}
Expand Down

0 comments on commit fdf6f38

Please sign in to comment.