From 10648b977f83cf0d3f128e75d13127cad15a997d Mon Sep 17 00:00:00 2001 From: zeon256 Date: Mon, 29 Jan 2024 01:38:59 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20chore:=20fmt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bus_enums.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/bus_enums.rs b/src/bus_enums.rs index 4d735e5..8f45a23 100644 --- a/src/bus_enums.rs +++ b/src/bus_enums.rs @@ -2,9 +2,7 @@ //! Used for transforming stringly typed data from API to enums pub mod prelude { - pub use { - crate::bus_enums::{Operator, BusCategory, BusFeature, BusLoad, BusType} - }; + pub use crate::bus_enums::{BusCategory, BusFeature, BusLoad, BusType, Operator}; } use serde::{Deserialize, Serialize}; @@ -20,13 +18,13 @@ use serde::{Deserialize, Serialize}; pub enum Operator { #[serde(rename = "SBST")] Sbst, - + #[serde(rename = "SMRT")] Smrt, - + #[serde(rename = "TTS")] Tts, - + #[serde(rename = "GAS")] Gas,