diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index cc31572..53db108 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -1277,7 +1277,7 @@ impl Decoder { /// /// It will re-allocate the buffer into the correct type and size, within the decoder's /// configured limits, and then pass it to the underlying method. This is essentially a - /// type-safe wrapper around the raw [`Self::read_chunk_to_bytes`] method. + /// type-safe wrapper around the raw [`Self::read_chunk_bytes`] method. /// /// Note that for planar images each chunk contains only one sample of the underlying data. pub fn read_chunk_to_buffer(