File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77//! * <https://en.wikipedia.org/wiki/ICO_%28file_format%29>
88
99pub use self :: decoder:: IcoDecoder ;
10- #[ allow( deprecated) ]
1110pub use self :: encoder:: { IcoEncoder , IcoFrame } ;
1211
1312mod decoder;
Original file line number Diff line number Diff line change @@ -86,14 +86,11 @@ fn gif() {
8686 // no tests for allocation limits because the caller is responsible for allocating the buffer in this case
8787
8888 // Custom constructor on GifDecoder
89- #[ allow( deprecated) ]
90- {
91- assert ! ( GifDecoder :: new( Cursor :: new( & image) )
92- . unwrap( )
93- . set_limits( width_height_limits( ) )
94- . is_err( ) ) ;
95- // no tests for allocation limits because the caller is responsible for allocating the buffer in this case
96- }
89+ assert ! ( GifDecoder :: new( Cursor :: new( & image) )
90+ . unwrap( )
91+ . set_limits( width_height_limits( ) )
92+ . is_err( ) ) ;
93+ // no tests for allocation limits because the caller is responsible for allocating the buffer in this case
9794}
9895
9996#[ test]
You can’t perform that action at this time.
0 commit comments