fix: take care of clippy warnings and add test image

This commit is contained in:
multisn8 2024-01-11 01:36:47 +01:00
parent 24ebca3e8d
commit 816602fb2e
Signed by untrusted user: multisamplednight
GPG key ID: 6D525AA147CBDAE2
7 changed files with 37 additions and 36 deletions

View file

@ -1,16 +1,14 @@
use instructions::Instruction;
use serde::{Deserialize, Serialize};
use crate::instructions::{
read::{SourceFormat, SourceType},
write::{TargetFormat, TargetType},
MathInstruction,
};
pub mod instructions;
/// # Panics
///
/// Panics if deserialization fails. lol.
#[must_use]
pub fn from_ron(raw: &str) -> Rpl {
ron::from_str(raw).unwrap()
ron::from_str(raw).expect("come back later and handle me correctly")
}
#[derive(Serialize, Deserialize, PartialEq, Eq, Debug)]