From 349a2edbfac0da8ebf6795185a259eb523c52544 Mon Sep 17 00:00:00 2001 From: Horror Proton <107091537+horror-proton@users.noreply.github.com> Date: Fri, 20 Jan 2023 19:12:21 +0800 Subject: [PATCH] fix: fix compile error in rust bindings --- src/Rust/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rust/src/config.rs b/src/Rust/src/config.rs index 4ebb637b971..2af94b8f6b1 100644 --- a/src/Rust/src/config.rs +++ b/src/Rust/src/config.rs @@ -7,7 +7,7 @@ lazy_static! { pub static ref CONFIG: Config = { let config_file = Path::new("./server_config.json"); if !config_file.exists() { - let default_config = include_str!("../server_config.json") + let default_config = include_str!("../server_config.json"); fs::write(config_file,default_config).unwrap(); } let s = fs::read(config_file).unwrap();