chore: clean up comments and remove spelling errors

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-03-01 21:28:12 -06:00
parent 5cf660666a
commit e4dfea45c5
3 changed files with 2 additions and 4 deletions

View File

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

View File

@ -26,8 +26,6 @@ pub fn get_project_dirs() -> Result<ProjectDirs, ProjectDirError> {
ProjectDirs::from("dev", "musuka", "save-sync").ok_or(ProjectDirError::HomeNotSet)
}
// pub fn get_data_dir() -> Option<PathBuf> {}
#[derive(Error, Debug)]
pub enum ProjectDirError {
#[error("$HOME is not set")]

View File

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