style: fmt rust code

This commit is contained in:
jeasonnow
2023-07-28 17:44:43 +08:00
parent bb5d964586
commit 7e6d302fd0
10 changed files with 17 additions and 17 deletions

View File

@@ -5,8 +5,8 @@ use tauri::{api, Config, Window};
pub fn get_pake_config() -> (PakeConfig, Config) {
#[cfg(feature = "cli-build")]
let pake_config: PakeConfig =
serde_json::from_str(include_str!("../.pake/pake.json")).expect("Failed to parse pake config");
let pake_config: PakeConfig = serde_json::from_str(include_str!("../.pake/pake.json"))
.expect("Failed to parse pake config");
#[cfg(not(feature = "cli-build"))]
let pake_config: PakeConfig =
serde_json::from_str(include_str!("../pake.json")).expect("Failed to parse pake config");