mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
cargo fmt
This commit is contained in:
parent
7c02aecc27
commit
33a6eb0cf3
2 changed files with 6 additions and 3 deletions
|
@ -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()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue