diff --git a/client/src/archive.rs b/client/src/archive.rs index b2c30b0..722673a 100644 --- a/client/src/archive.rs +++ b/client/src/archive.rs @@ -135,7 +135,7 @@ impl Archive { Ok(GameSaveLocation::new(path, game_files, friendly_name)) } - /// Removes a game from the list of traked games + /// Removes a game from the list of tracked games /// /// Will fail if: /// * The path provided isn't associated with any game diff --git a/client/src/utils.rs b/client/src/utils.rs index 7c45780..b02a566 100644 --- a/client/src/utils.rs +++ b/client/src/utils.rs @@ -26,8 +26,6 @@ pub fn get_project_dirs() -> Result { ProjectDirs::from("dev", "musuka", "save-sync").ok_or(ProjectDirError::HomeNotSet) } -// pub fn get_data_dir() -> Option {} - #[derive(Error, Debug)] pub enum ProjectDirError { #[error("$HOME is not set")] diff --git a/src/game.rs b/src/game.rs index 598fb6b..f5b6687 100644 --- a/src/game.rs +++ b/src/game.rs @@ -58,7 +58,7 @@ impl GameFile { #[derive(Error, Debug)] pub enum GameFileError { #[error(transparent)] - IOError(#[from] std::io::Error), + IoError(#[from] std::io::Error), } #[derive(Debug, Default)]