Autoformat
This commit is contained in:
parent
8eaefb6dba
commit
f6ca5bace4
3 changed files with 22 additions and 9 deletions
|
@ -4,7 +4,10 @@ use std::fs;
|
|||
|
||||
use errors::*;
|
||||
|
||||
const APP_INFO: AppInfo = AppInfo{name: "Polaris", author: "Permafrost"};
|
||||
const APP_INFO: AppInfo = AppInfo {
|
||||
name: "Polaris",
|
||||
author: "Permafrost",
|
||||
};
|
||||
|
||||
pub fn get_config_root() -> Result<PathBuf> {
|
||||
if let Ok(root) = app_root(AppDataType::UserConfig, &APP_INFO) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue