diff --git a/src/exit.rs b/src/exit.rs index 9f1d14d..9d37cee 100644 --- a/src/exit.rs +++ b/src/exit.rs @@ -19,15 +19,15 @@ pub enum Transition { impl From<&str> for Transition { fn from(str: &str) -> Transition { match str { - "fade_w" => Transition::FadeToWhite, - "fade_b" => Transition::FadeToBlack, - "wave" => Transition::Wave, - "tunnel" => Transition::Tunnel, + "fade_w" => Transition::FadeToWhite, + "fade_b" => Transition::FadeToBlack, + "wave" => Transition::Wave, + "tunnel" => Transition::Tunnel, "slide_u" => Transition::SlideUp, "slide_d" => Transition::SlideDown, "slide_l" => Transition::SlideLeft, "slide_r" => Transition::SlideRight, - _ => Transition::None, + _ => Transition::None, } } } @@ -37,13 +37,13 @@ impl ToString for Transition { match &self { Transition::FadeToWhite => " FX fade_w", Transition::FadeToBlack => " FX fade_b", - Transition::Wave => " FX wave", - Transition::Tunnel => " FX tunnel", - Transition::SlideUp => " FX slide_u", - Transition::SlideDown => " FX slide_d", - Transition::SlideLeft => " FX slide_l", - Transition::SlideRight => " FX slide_r", - Transition::None => "", + Transition::Wave => " FX wave", + Transition::Tunnel => " FX tunnel", + Transition::SlideUp => " FX slide_u", + Transition::SlideDown => " FX slide_d", + Transition::SlideLeft => " FX slide_l", + Transition::SlideRight => " FX slide_r", + Transition::None => "", } .to_string() }