forked from katzen-cafe/iowo
fix: take care of clippy warnings and add test image
This commit is contained in:
parent
24ebca3e8d
commit
816602fb2e
7 changed files with 37 additions and 36 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue