master
Skye 2 years ago
parent 9b7344cadb
commit 00b6dcfcdc
Signed by: me
GPG Key ID: 0104BC05F41B77B8

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

Loading…
Cancel
Save