Autoformat

This commit is contained in:
Antoine Gersant 2017-05-29 12:01:07 -07:00
parent 8eaefb6dba
commit f6ca5bace4
3 changed files with 22 additions and 9 deletions

View file

@ -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) {