Skip to content

Commit

Permalink
Don't import orientation in doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnatsel authored Oct 15, 2024
1 parent fb5799b commit 91a001f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynimage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ impl DynamicImage {
///
/// ```
/// # fn only_check_if_this_compiles() -> Result<(), Box<dyn std::error::Error>> {
/// use image::{DynamicImage, ImageReader, ImageDecoder, metadata::Orientation};
/// use image::{DynamicImage, ImageReader, ImageDecoder};
///
/// let mut decoder = ImageReader::open("file.jpg")?.into_decoder()?;
/// let orientation = decoder.orientation()?;
Expand Down

0 comments on commit 91a001f

Please sign in to comment.