1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-23 21:17:45 +00:00

Note a TODO that the InvalidPatchFile error is misleading

This commit is contained in:
Joshua Goins 2022-10-17 15:25:49 -04:00
parent 118d8404a4
commit c61ba6be7a

View file

@ -380,6 +380,7 @@ pub enum PatchError {
} }
impl From<std::io::Error> for PatchError { impl From<std::io::Error> for PatchError {
// TODO: implement specific PatchErrors for stuff like out of storage space. invalidpatchfile is a bad name for this
fn from(_: std::io::Error) -> Self { fn from(_: std::io::Error) -> Self {
PatchError::InvalidPatchFile PatchError::InvalidPatchFile
} }