mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Run cargo fmt
This commit is contained in:
parent
57eb3b2de4
commit
b986603215
@ -233,7 +233,7 @@ impl Default for Settings {
|
||||
impl Settings {
|
||||
pub fn load() -> Self {
|
||||
let path = Settings::get_settings_path();
|
||||
|
||||
|
||||
if let Ok(file) = fs::File::open(&path) {
|
||||
match ron::de::from_reader(file) {
|
||||
Ok(s) => s,
|
||||
@ -252,7 +252,6 @@ impl Settings {
|
||||
let default_settings = Self::default();
|
||||
default_settings.save_to_file_warn();
|
||||
default_settings
|
||||
|
||||
}
|
||||
|
||||
pub fn save_to_file_warn(&self) {
|
||||
|
Loading…
Reference in New Issue
Block a user