@@ -15,19 +15,19 @@ use image::DynamicImage;
15
15
use serde:: de;
16
16
use serde_json:: Value ;
17
17
18
- use super :: { gameitem , read_gamedata , Version , VPX } ;
18
+ use super :: { VPX , Version , gameitem , read_gamedata } ;
19
19
20
20
use super :: collection:: Collection ;
21
21
use super :: font;
22
22
use super :: gamedata:: { GameData , GameDataJson } ;
23
23
use super :: sound;
24
- use super :: sound:: { read_sound , write_sound , SoundData , SoundDataJson } ;
24
+ use super :: sound:: { SoundData , SoundDataJson , read_sound , write_sound } ;
25
25
use super :: version;
26
26
use crate :: vpx:: biff:: { BiffRead , BiffReader } ;
27
27
use crate :: vpx:: custominfotags:: CustomInfoTags ;
28
28
use crate :: vpx:: font:: { FontData , FontDataJson } ;
29
- use crate :: vpx:: gameitem:: primitive:: Primitive ;
30
29
use crate :: vpx:: gameitem:: GameItemEnum ;
30
+ use crate :: vpx:: gameitem:: primitive:: Primitive ;
31
31
use crate :: vpx:: image:: { ImageData , ImageDataBits , ImageDataJson } ;
32
32
use crate :: vpx:: jsonmodel:: { collections_json, info_to_json, json_to_collections, json_to_info} ;
33
33
use crate :: vpx:: lzw:: { from_lzw_blocks, to_lzw_blocks} ;
@@ -37,7 +37,7 @@ use crate::vpx::material::{
37
37
SavePhysicsMaterialJson ,
38
38
} ;
39
39
use crate :: vpx:: model:: Vertex3dNoTex2 ;
40
- use crate :: vpx:: obj:: { read_obj_file , write_obj , ObjData } ;
40
+ use crate :: vpx:: obj:: { ObjData , read_obj_file , write_obj } ;
41
41
use crate :: vpx:: renderprobe:: { RenderProbeJson , RenderProbeWithGarbage } ;
42
42
use crate :: vpx:: tableinfo:: TableInfo ;
43
43
@@ -594,7 +594,7 @@ fn read_image_bmp(data: &[u8]) -> io::Result<ImageBmp> {
594
594
return Err ( io:: Error :: new (
595
595
io:: ErrorKind :: InvalidData ,
596
596
format ! ( "BMP image uses {:?}, expecting Rgb8 or Rgba8 format" , other) ,
597
- ) )
597
+ ) ) ;
598
598
}
599
599
} ;
600
600
0 commit comments