Skip to content

Commit

Permalink
tests/jpeg: Swap arguments
Browse files Browse the repository at this point in the history
Signed-off-by: caleb <[email protected]>
  • Loading branch information
etemesi254 committed Jun 12, 2023
1 parent 40d0875 commit d635db2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion zune-jpeg/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* Copyright (c) 2023.
*
* This software is free software;
*
* You can redistribute it or modify it under terms of the MIT, Apache License or Zlib license
*/

//!This crate provides a library for decoding valid
//! ITU-T Rec. T.851 (09/2005) ITU-T T.81 (JPEG-1) or JPEG images.
//!
Expand Down Expand Up @@ -39,7 +47,7 @@
//!
//! let mut options = DecoderOptions::default().jpeg_set_out_colorspace(ColorSpace::RGBA);
//!
//! let mut decoder = JpegDecoder::new_with_options(options,&[]);
//! let mut decoder = JpegDecoder::new_with_options(&[],options);
//! let pixels = decoder.decode().unwrap();
//! ```
//!
Expand Down

0 comments on commit d635db2

Please sign in to comment.