Skip to content

Commit

Permalink
jpeg/decoder: Fix doctest
Browse files Browse the repository at this point in the history
Signed-off-by: caleb <etemesicaleb@gmail.com>
  • Loading branch information
etemesi254 committed Feb 25, 2023
1 parent 1cbc0aa commit 5a43f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zune-jpeg/src/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ impl<'a> JpegDecoder<'a>
/// let mut decoder = JpegDecoder::new(&img_data);
/// decoder.decode_headers().unwrap();
///
/// println!("Total decoder dimensions are : {} pixels",decoder.dimensions());
/// println!("Total decoder dimensions are : {:?} pixels",decoder.dimensions());
/// println!("Number of components in the image are {}", decoder.info().unwrap().components);
/// ```
/// # Errors
Expand Down

0 comments on commit 5a43f0f

Please sign in to comment.