mirror of
https://github.com/szymon-jozef/checkers.git
synced 2026-10-28 11:10:44 +01:00
docs: some stupid comments
This commit is contained in:
@@ -47,6 +47,11 @@ pub trait SettingsLike: Serialize + DeserializeOwned + Default {
|
||||
let settings = Self::default();
|
||||
|
||||
if let Err(e) = settings.save_to_file() {
|
||||
// this kinda destroys original file if it has
|
||||
// content that is invalid, i'm not sure if i
|
||||
// like this, but i'll keep it for now.
|
||||
//
|
||||
// ADDING TODO! SO I DONT FORGET AGOUT THIS
|
||||
warn!("Could not save server settings to the file, because: {}", e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user