chore: clean up comments and remove spelling errors
This commit is contained in:
parent
5cf660666a
commit
e4dfea45c5
|
@ -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
|
||||
|
|
|
@ -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")]
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue