Skip to content

Commit b2cf757

Browse files
authored
Remove reference to read_image_with_progress. (#2686)
1 parent 22ea722 commit b2cf757

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/io/decoder.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ pub trait ImageDecoder {
5959

6060
/// Returns the total number of bytes in the decoded image.
6161
///
62-
/// This is the size of the buffer that must be passed to `read_image` or
63-
/// `read_image_with_progress`. The returned value may exceed `usize::MAX`, in
64-
/// which case it isn't actually possible to construct a buffer to decode all the image data
65-
/// into. If, however, the size does not fit in a u64 then `u64::MAX` is returned.
62+
/// This is the size of the buffer that must be passed to `read_image`. The returned value may
63+
/// exceed `usize::MAX`, in which case it isn't actually possible to construct a buffer to
64+
/// decode all the image data into. If, however, the size does not fit in a u64 then `u64::MAX`
65+
/// is returned.
6666
fn total_bytes(&self) -> u64 {
6767
let dimensions = self.dimensions();
6868
let total_pixels = u64::from(dimensions.0) * u64::from(dimensions.1);

0 commit comments

Comments
 (0)