chore: move error handling todos from msgs into comments

This commit is contained in:
multisn8 2024-01-21 21:08:27 +01:00
parent 98f4a6cdeb
commit bbde1c84ca
Signed by: multisamplednight
GPG key ID: C81EF9B053977241
3 changed files with 8 additions and 8 deletions

View file

@ -18,6 +18,7 @@ pub mod write {
use ir::instruction::write::{TargetFormat, TargetType, Write};
pub fn write(Write { target, format }: Write, input_data: &DynamicImage) {
// TODO: actual error handling
input_data
.save_with_format(
match target {
@ -28,7 +29,7 @@ pub mod write {
TargetFormat::Png => ImageFormat::Png,
},
)
.expect("couldn't save file — come back later and handle me properly please uwu");
.expect("couldn't save file");
}
}