ok/jj
1
0
Fork 0
forked from mirrors/jj

working_copy: remove unused SnapshotError::FileOpenError variant

Perhaps, this would have been generalized as IoError.
This commit is contained in:
Yuya Nishihara 2023-07-23 10:02:11 +09:00
parent 38e6151100
commit 465b8d9cf0

View file

@ -284,8 +284,6 @@ pub struct CheckoutStats {
#[derive(Debug, Error)]
pub enum SnapshotError {
#[error("Failed to open file {path}: {err:?}")]
FileOpenError { path: PathBuf, err: std::io::Error },
#[error("Failed to query the filesystem monitor: {0}")]
FsmonitorError(String),
#[error("{message}: {err}")]