chore: move error handling todos from msgs into comments
This commit is contained in:
parent
98f4a6cdeb
commit
bbde1c84ca
3 changed files with 8 additions and 8 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue