diff --git a/src/main.rs b/src/main.rs index 4804f03..a99f5a0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,6 +4,6 @@ fn main() { println!("Converting test.webp to test.png."); let img_raw = ImageReader::open("test.webp").expect("Failed to load test.webp.") let img = img_raw.decode().expect("Failed to decode the image."); - img.save("test.png").("Failed to save test.png."); + img.save("test.png").expect("Failed to save test.png."); println!("Done."); }