File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use mp4parse as mp4;
7
7
use crate :: mp4:: { ParseStrictness , Status } ;
8
8
use std:: convert:: TryInto ;
9
9
use std:: fs:: File ;
10
- use std:: io:: { Cursor , Read , Seek , SeekFrom } ;
10
+ use std:: io:: { Cursor , Read , Seek } ;
11
11
12
12
static MINI_MP4 : & str = "tests/minimal.mp4" ;
13
13
static MINI_MP4_WITH_METADATA : & str = "tests/metadata.mp4" ;
@@ -949,7 +949,7 @@ fn for_strictness_result(
949
949
ParseStrictness :: Normal ,
950
950
ParseStrictness :: Strict ,
951
951
] {
952
- input. seek ( SeekFrom :: Start ( 0 ) ) . expect ( "rewind failed" ) ;
952
+ input. rewind ( ) . expect ( "rewind failed" ) ;
953
953
check ( strictness, mp4:: read_avif ( input, strictness) ) ;
954
954
}
955
955
}
@@ -1116,6 +1116,7 @@ fn public_avif_transform_order() {
1116
1116
assert_avif_shall ( IMAGE_AVIF_TRANSFORM_ORDER , Status :: TxformOrder ) ;
1117
1117
}
1118
1118
1119
+ #[ allow( clippy:: uninlined_format_args) ]
1119
1120
fn assert_unsupported_nonfatal ( result : & mp4:: Result < mp4:: AvifContext > , feature : mp4:: Feature ) {
1120
1121
match result {
1121
1122
Ok ( context) => {
You can’t perform that action at this time.
0 commit comments