We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9b0664 commit e09a86bCopy full SHA for e09a86b
src-tauri/src/lib.rs
@@ -63,10 +63,10 @@ fn get_config_file() -> String {
63
}
64
65
66
-const OLD_CONFIG_DIR: String = if IS_DEV { "mclocks.dev".to_string() } else { "mclocks".to_string() };
+const OLD_CONFIG_DIR: &str = if IS_DEV { "mclocks.dev" } else { "mclocks" };
67
68
fn get_old_config_app_path() -> String {
69
- vec![OLD_CONFIG_DIR, get_config_file()].join("/")
+ vec![OLD_CONFIG_DIR, &get_config_file()].join("/")
70
71
72
fn get_config_app_path() -> String {
0 commit comments