File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments