diff --git a/src/core/manage.rs b/src/core/manage.rs index 71c4721..a1cb319 100644 --- a/src/core/manage.rs +++ b/src/core/manage.rs @@ -113,7 +113,7 @@ pub fn install_with_sanity( ) -> Result where T: Read + Seek, - F: FnOnce(&T) -> Result<(), Box>, + F: FnOnce(&T) -> Result<(), Box>, { if let Err(e) = sanity_check(&zip_file) { return Err(ThermiteError::SanityError(e)); diff --git a/src/error.rs b/src/error.rs index 88be68b..d6437b2 100644 --- a/src/error.rs +++ b/src/error.rs @@ -28,7 +28,7 @@ pub enum ThermiteError { #[error("Error stripping directory prefix {0}\nIs the mod formatted correctly?")] PrefixError(#[from] StripPrefixError), #[error("Sanity check failed: {0}")] - SanityError(Box), + SanityError(Box), #[error("Attempted to save a file but the path was None")] MissingPath, #[error("Error converting string to integer: {0}")]