cargo fmt

This commit is contained in:
Toshit Chawda 2024-09-07 13:35:34 -07:00
parent 7c02aecc27
commit 33a6eb0cf3
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
2 changed files with 6 additions and 3 deletions

View file

@ -353,7 +353,10 @@ impl Config {
#[cfg(feature = "yaml")] #[cfg(feature = "yaml")]
ConfigFormat::Yaml => serde_yaml::from_str(&string)?, ConfigFormat::Yaml => serde_yaml::from_str(&string)?,
#[cfg(not(any(feature = "toml", feature = "json", feature = "yaml")))] #[cfg(not(any(feature = "toml", feature = "json", feature = "yaml")))]
ConfigFormat::None => { let _ = string; Self::default() }, ConfigFormat::None => {
let _ = string;
Self::default()
}
}) })
} }
} }

View file

@ -1,7 +1,7 @@
mod wisp;
mod wsproxy;
#[cfg(feature = "twisp")] #[cfg(feature = "twisp")]
pub mod twisp; pub mod twisp;
mod wisp;
mod wsproxy;
pub use wisp::handle_wisp; pub use wisp::handle_wisp;
pub use wsproxy::handle_wsproxy; pub use wsproxy::handle_wsproxy;