Skip to content

Commit 91a001f

Browse files
authored
Don't import orientation in doc example
1 parent fb5799b commit 91a001f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dynimage.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ impl DynamicImage {
941941
///
942942
/// ```
943943
/// # fn only_check_if_this_compiles() -> Result<(), Box<dyn std::error::Error>> {
944-
/// use image::{DynamicImage, ImageReader, ImageDecoder, metadata::Orientation};
944+
/// use image::{DynamicImage, ImageReader, ImageDecoder};
945945
///
946946
/// let mut decoder = ImageReader::open("file.jpg")?.into_decoder()?;
947947
/// let orientation = decoder.orientation()?;

0 commit comments

Comments
 (0)