Skip to content

Commit

Permalink
fix a issue with cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse committed Oct 27, 2023
1 parent f281e8f commit 07488db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ pub async fn gen_img(small_mode: &str, map_image: &str) -> Result<String> {
(img_size.y / 4.8) as i32,
scale,
&font,
&small_mode[..],
small_mode,
);
img2.save("./map_mode.jpg")?;

Expand Down

0 comments on commit 07488db

Please sign in to comment.