fix(fs): add missing std::error::Error impl for fs::Error
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
ci/woodpecker/cron/woodpecker Pipeline failed

This commit is contained in:
Paul Campbell 2024-04-28 19:11:12 +01:00
parent 6995dbedcb
commit 595a376a62
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "kxio" name = "kxio"
version = "1.1.0" version = "1.1.1"
edition = "2021" edition = "2021"
authors = ["Paul Campbell <pcampbell@kemitix.net>"] authors = ["Paul Campbell <pcampbell@kemitix.net>"]
description = "Provides injectable Filesystem and Network resources to make code more testable" description = "Provides injectable Filesystem and Network resources to make code more testable"

View file

@ -18,6 +18,8 @@ pub enum Error {
path: PathBuf, path: PathBuf,
}, },
} }
impl std::error::Error for Error {}
pub type Result<T> = core::result::Result<T, Error>; pub type Result<T> = core::result::Result<T, Error>;
pub const fn new(base: PathBuf) -> FileSystem { pub const fn new(base: PathBuf) -> FileSystem {