This commit is contained in:
Skye 2023-01-06 22:40:00 +09:00
parent 9b7344cadb
commit 00b6dcfcdc
Signed by: me
GPG key ID: 0104BC05F41B77B8

View file

@ -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,
}
}