|
|
|
@ -1,9 +1,5 @@
|
|
|
|
|
#![no_std]
|
|
|
|
|
|
|
|
|
|
pub fn add(left: usize, right: usize) -> usize {
|
|
|
|
|
left + right
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
|
mod tests {
|
|
|
|
|
|
|
|
|
@ -147,17 +143,17 @@ impl StateMachine {
|
|
|
|
|
|
|
|
|
|
fn get_discrim(&self) -> u8 {
|
|
|
|
|
match self {
|
|
|
|
|
StateMachine::Uwu { left } => 0,
|
|
|
|
|
StateMachine::Uwu { left: _ } => 0,
|
|
|
|
|
StateMachine::CatgirlNonsense(_) => 1,
|
|
|
|
|
StateMachine::Nyaaaaaaa(_) => 2,
|
|
|
|
|
StateMachine::Blush(_) => 3,
|
|
|
|
|
StateMachine::ColonThree { left } => 4,
|
|
|
|
|
StateMachine::Actions { left } => 5,
|
|
|
|
|
StateMachine::Keysmash { machine, left } => 6,
|
|
|
|
|
StateMachine::Screaming { left } => 7,
|
|
|
|
|
StateMachine::ColonThree { left: _ } => 4,
|
|
|
|
|
StateMachine::Actions { left: _ } => 5,
|
|
|
|
|
StateMachine::Keysmash { machine: _, left: _ } => 6,
|
|
|
|
|
StateMachine::Screaming { left: _ } => 7,
|
|
|
|
|
StateMachine::Scrunkly(_) => 8,
|
|
|
|
|
StateMachine::Owo { left } => 9,
|
|
|
|
|
StateMachine::Space { prev } => 10,
|
|
|
|
|
StateMachine::Owo { left: _ } => 9,
|
|
|
|
|
StateMachine::Space { prev: _ } => 10,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|