fix(file_store): rm lifetime from FileError
The lifetime on the error needed to be the same as the input magic bytes which was annoying.
This commit is contained in:
@@ -94,7 +94,7 @@ where
|
||||
if magic_buf != magic {
|
||||
return Err(FileError::InvalidMagicBytes {
|
||||
got: magic_buf,
|
||||
expected: magic,
|
||||
expected: magic.to_vec(),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user