From efd2a6dbd83d742801a6ecf6c287257513fcf604 Mon Sep 17 00:00:00 2001 From: "A. Molzer" <5550310+197g@users.noreply.github.com> Date: Mon, 5 Jan 2026 18:31:57 +0100 Subject: [PATCH] Nit: documentation links to wrong item --- src/decoder/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(