File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,8 @@ mod fallible {
302
302
}
303
303
304
304
pub fn resize_with < F > ( & mut self , new_len : usize , f : F ) -> Result < ( ) , ( ) >
305
- where F : FnMut ( ) -> T
305
+ where
306
+ F : FnMut ( ) -> T ,
306
307
{
307
308
self . reserve ( new_len) ?;
308
309
self . inner . resize_with ( new_len, f) ;
@@ -1484,7 +1485,8 @@ pub fn read_avif<T: Read>(f: &mut T, context: &mut AvifContext) -> Result<()> {
1484
1485
let primary_item_loc = read_avif_meta ( & mut b) ?;
1485
1486
match primary_item_loc. construction_method {
1486
1487
ConstructionMethod :: File => {
1487
- primary_item_extents_data. resize_with ( primary_item_loc. extents . len ( ) , Default :: default) ?;
1488
+ primary_item_extents_data
1489
+ . resize_with ( primary_item_loc. extents . len ( ) , Default :: default) ?;
1488
1490
primary_item_extents = Some ( primary_item_loc. extents ) ;
1489
1491
}
1490
1492
_ => return Err ( Error :: Unsupported ( "unsupported construction_method" ) ) ,
You can’t perform that action at this time.
0 commit comments